class IncrementalTransitiveClosure[T] extends AnyRef
efficiently maintains the transitive closure a changing relation on a type T the generating relation is defined calls to add and delete
lookup is constant time adding/deleting is linear in the number of paths using the new/deleted edge
- Source
- HashRelation.scala
- Alphabetic
- By Inheritance
- IncrementalTransitiveClosure
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IncrementalTransitiveClosure()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(from: T, to: T): Unit
add an edge to the underlying relation
-
def
apply(from: T, to: T): Boolean
true if (from,to) is in the transitive closure
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clear: Unit
empty the underlying relation
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
delete(x: T, into: Boolean, outOf: Boolean, through: Boolean): Unit
delete node x and paths involving x
delete node x and paths involving x
- into
delete paths into x
- outOf
delete paths out of x
- through
delete paths strictly through x
-
def
delete(from: T, to: T): Unit
delete an edge from the underlying relation
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getAbove(x: T, refl: Boolean): Iterator[T]
- Annotations
- @inline()
-
def
getBelow(x: T, refl: Boolean): Iterator[T]
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()