Packages

c

info.kwarc.mmt.api.utils

ReflTransHashRelation

class ReflTransHashRelation[A] extends HashRelation[A, A]

This implements the reflexive and transitive closure of a HashRelation[A,A]. The closure is not maintained and lookups use depth-first search. In particular, the methods += and -= change the underlying relation, not only the closure.

Source
HashRelation.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReflTransHashRelation
  2. HashRelation
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReflTransHashRelation()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +=(a: A, b: A): Unit
    Definition Classes
    HashRelation
  4. def +=(pairs: (A, A)*): Unit
    Definition Classes
    HashRelation
  5. def -=(a: A, b: A): Unit
    Definition Classes
    HashRelation
  6. def -=(pairs: (A, A)*): Unit
    Definition Classes
    HashRelation
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def apply(a: A): HashSet[A]
    Definition Classes
    HashRelation
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clear: Unit
    Definition Classes
    HashRelation
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def contains(a: A, b: A): Boolean
    Definition Classes
    ReflTransHashRelationHashRelation
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def image(a: A): HashSet[A]
    Definition Classes
    ReflTransHashRelationHashRelation
  19. def irrImage(a: A): HashSet[A]
  20. def irrPreimage(a: A): HashSet[A]
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def preimage(a: A): HashSet[A]
    Definition Classes
    ReflTransHashRelationHashRelation
  26. def preimageDFO(a: A): List[A]

    as preimage, but DFO is guaranteed

  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from HashRelation[A, A]

Inherited from AnyRef

Inherited from Any

Ungrouped