Packages

  • package root
    Definition Classes
    root
  • package scalax
    Definition Classes
    root
  • package collection
    Definition Classes
    scalax
  • package constrained

    Traits enabling to implement constraints and use constrained graphs.

    Traits enabling to implement constraints and use constrained graphs.

    Graphs may be constrained dynamically or statically.

    Dynamically constrained means that a constraint is bound to a constrained Graph instance at initialization time. The constrained Graph will then delegate all calls to the methods of ConstraintMethods and ConstraintHandlerMethods to the corresponding methods of the constraint bound to it. The immutable and mutable factories Graph in this package yield dynamically constrained graphs.

    To make use of dynamically constrained graphs you may make use of the predefined constraints or provide an own implementation of Constraint along with its companion object. To initialize a graph with one or several combined constraints just call the graph factory methods of the constraint package passing.

    Statically constrained means that the graph class directly implements the methods declared in ConstraintMethods.

    Definition Classes
    collection
  • trait ConstraintCompanion[+CC[N, E[+X] <: EdgeLikeIn[X], G <: Graph[N, E]] <: Constraint[N, E[X], G]] extends AnyRef

    Base trait for ordinary Constraint companion objects.

    Base trait for ordinary Constraint companion objects.

    Definition Classes
    constrained
  • PrefixedConstraintCompanion

class PrefixedConstraintCompanion extends ConstraintCompanion[CC]

Attributes
protected[constrained]
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrefixedConstraintCompanion
  2. ConstraintCompanion
  3. AnyRef
  4. Any
Implicitly
  1. by ChainingOps
  2. by EdgeAssoc
  3. by anyToNode
  4. by any2stringadd
  5. by StringFormat
  6. by Ensuring
  7. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PrefixedConstraintCompanion(prefix: Option[String])

Type Members

  1. class PrefixedConstraintCompanion extends ConstraintCompanion[CC]
    Attributes
    protected[constrained]
    Definition Classes
    ConstraintCompanion

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &&(that: ConstraintCompanion[Constraint]): ConstraintCompanionBinaryOp[[N, E[+X], G]Constraint[N, E, G]]

    Creates a new constraint companion of the type ConstraintCompanionBinaryOp the apply of which returns ConstraintBinaryOp with the And operator.

    Creates a new constraint companion of the type ConstraintCompanionBinaryOp the apply of which returns ConstraintBinaryOp with the And operator.

    Definition Classes
    ConstraintCompanion
  4. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toany2stringadd[PrefixedConstraintCompanion] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (PrefixedConstraintCompanion, B)
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toArrowAssoc[PrefixedConstraintCompanion] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def apply[N, E[+X] <: EdgeLikeIn[X], G <: Graph[N, E]](self: G): CC[N, E, G]

    Instantiates a user constraint.

    Instantiates a user constraint.

    Definition Classes
    PrefixedConstraintCompanionConstraintCompanion
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. def ensuring(cond: (PrefixedConstraintCompanion) => Boolean, msg: => Any): PrefixedConstraintCompanion
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toEnsuring[PrefixedConstraintCompanion] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (PrefixedConstraintCompanion) => Boolean): PrefixedConstraintCompanion
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toEnsuring[PrefixedConstraintCompanion] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: => Any): PrefixedConstraintCompanion
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toEnsuring[PrefixedConstraintCompanion] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): PrefixedConstraintCompanion
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toEnsuring[PrefixedConstraintCompanion] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toStringFormat[PrefixedConstraintCompanion] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def isDefined: Boolean
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toOuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    Param
  20. final def isEdge: Boolean
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toOuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    Param
  21. def isIn: Boolean
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toOuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    InParam → Param
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isNode: Boolean
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toOuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  24. final def isOut: Boolean
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toOuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    Param
  25. val n1: PrefixedConstraintCompanion
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toEdgeAssoc[PrefixedConstraintCompanion] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def pipe[B](f: (PrefixedConstraintCompanion) => B): B
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toChainingOps[PrefixedConstraintCompanion] performed by method ChainingOps in scalax.collection.
    Definition Classes
    ChainingOps
  30. def productElementNames: Iterator[String]
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toOuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    Product
  31. val self: PrefixedConstraintCompanion
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toChainingOps[PrefixedConstraintCompanion] performed by method ChainingOps in scalax.collection.
    Definition Classes
    ChainingOps
  32. val stringPrefix: Option[String]

    The stringPrefix of constrained Graphs using this constraint will be replaced by this string unless None.

    The stringPrefix of constrained Graphs using this constraint will be replaced by this string unless None.

    Definition Classes
    PrefixedConstraintCompanionConstraintCompanion
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def tap[U](f: (PrefixedConstraintCompanion) => U): PrefixedConstraintCompanion
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toChainingOps[PrefixedConstraintCompanion] performed by method ChainingOps in scalax.collection.
    Definition Classes
    ChainingOps
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. val value: PrefixedConstraintCompanion
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toOuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    OuterNode → NodeParam
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. def withStringPrefix(stringPrefix: String): PrefixedConstraintCompanion

    Sets stringPrefix of constrained Graphs using this combined constraint companion to graphStringPrefix.

    Sets stringPrefix of constrained Graphs using this combined constraint companion to graphStringPrefix.

    Definition Classes
    ConstraintCompanion
  41. def ||(that: ConstraintCompanion[Constraint]): ConstraintCompanionBinaryOp[[N, E[+X], G]Constraint[N, E, G]]

    Creates a new constraint companion of the type ConstraintCompanionBinaryOp the apply of which returns ConstraintBinaryOp with the Or operator.

    Creates a new constraint companion of the type ConstraintCompanionBinaryOp the apply of which returns ConstraintBinaryOp with the Or operator.

    Definition Classes
    ConstraintCompanion
  42. def ~[N >: N1](n2: N): UnDiEdge[N]
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toEdgeAssoc[PrefixedConstraintCompanion] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
    Annotations
    @inline()
  43. def ~>[N >: N1](n2: N): DiEdge[N]
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toEdgeAssoc[PrefixedConstraintCompanion] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
    Annotations
    @inline()

Shadowed Implicit Value Members

  1. def stringPrefix: String
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toOuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (prefixedConstraintCompanion: OuterNode[PrefixedConstraintCompanion]).stringPrefix
    Definition Classes
    NodeParam
  2. def toString(): String
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toOuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (prefixedConstraintCompanion: OuterNode[PrefixedConstraintCompanion]).toString()
    Definition Classes
    NodeParam → AnyRef → Any

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def [B](y: B): (PrefixedConstraintCompanion, B)
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion toArrowAssoc[PrefixedConstraintCompanion] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from ConstraintCompanion[CC]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion ChainingOps fromPrefixedConstraintCompanion to ChainingOps[PrefixedConstraintCompanion]

Inherited by implicit conversion EdgeAssoc fromPrefixedConstraintCompanion to EdgeAssoc[PrefixedConstraintCompanion]

Inherited by implicit conversion anyToNode fromPrefixedConstraintCompanion to OuterNode[PrefixedConstraintCompanion]

Inherited by implicit conversion any2stringadd fromPrefixedConstraintCompanion to any2stringadd[PrefixedConstraintCompanion]

Inherited by implicit conversion StringFormat fromPrefixedConstraintCompanion to StringFormat[PrefixedConstraintCompanion]

Inherited by implicit conversion Ensuring fromPrefixedConstraintCompanion to Ensuring[PrefixedConstraintCompanion]

Inherited by implicit conversion ArrowAssoc fromPrefixedConstraintCompanion to ArrowAssoc[PrefixedConstraintCompanion]

Ungrouped