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]] <: Constraint[N, E[X]]] extends AnyRef

    Base trait for ordinary Constraint companion objects.

    Base trait for ordinary Constraint companion objects.

    Definition Classes
    constrained
  • PrefixedConstraintCompanion
c

scalax.collection.constrained.ConstraintCompanion

PrefixedConstraintCompanion

class PrefixedConstraintCompanion extends ConstraintCompanion[CC]

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

Instance Constructors

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

Type Members

  1. class PrefixedConstraintCompanion extends ConstraintCompanion[CC]
    Attributes
    protected[scalax.collection.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

    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 to any2stringadd[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 to ArrowAssoc[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]](self: Graph[N, E]): CC[N, E]

    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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def ensuring(cond: (PrefixedConstraintCompanion) ⇒ Boolean, msg: ⇒ Any): PrefixedConstraintCompanion
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to Ensuring[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 to Ensuring[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 to Ensuring[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 to Ensuring[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: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to StringFormat[PrefixedConstraintCompanion] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def isDefined: Boolean
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to OuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    Param
  21. final def isEdge: Boolean
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to OuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    Param
  22. def isIn: Boolean
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to OuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    InParam → Param
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isNode: Boolean
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to OuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  25. final def isOut: Boolean
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to OuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    Param
  26. val n1: PrefixedConstraintCompanion
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to EdgeAssoc[PrefixedConstraintCompanion] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. 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
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toParArray: ParArray[T]
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to CollectionsHaveToParArray[PrefixedConstraintCompanion, T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (PrefixedConstraintCompanion) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. val value: PrefixedConstraintCompanion
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to OuterNode[PrefixedConstraintCompanion] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    OuterNode → NodeParam
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  38. 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
  39. def ||(that: ConstraintCompanion[Constraint]): ConstraintCompanionBinaryOp

    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
  40. def ~[N >: N1](n2: N): UnDiEdge[N]
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to EdgeAssoc[PrefixedConstraintCompanion] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
    Annotations
    @inline()
  41. def ~>[N >: N1](n2: N): DiEdge[N]
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to EdgeAssoc[PrefixedConstraintCompanion] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
    Annotations
    @inline()
  42. def [B](y: B): (PrefixedConstraintCompanion, B)
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to ArrowAssoc[PrefixedConstraintCompanion] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def stringPrefix: String
    Implicit
    This member is added by an implicit conversion from PrefixedConstraintCompanion to OuterNode[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 to OuterNode[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

Inherited from ConstraintCompanion[CC]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion anyToNode from PrefixedConstraintCompanion to OuterNode[PrefixedConstraintCompanion]

Inherited by implicit conversion CollectionsHaveToParArray from PrefixedConstraintCompanion to CollectionsHaveToParArray[PrefixedConstraintCompanion, T]

Inherited by implicit conversion EdgeAssoc from PrefixedConstraintCompanion to EdgeAssoc[PrefixedConstraintCompanion]

Inherited by implicit conversion any2stringadd from PrefixedConstraintCompanion to any2stringadd[PrefixedConstraintCompanion]

Inherited by implicit conversion StringFormat from PrefixedConstraintCompanion to StringFormat[PrefixedConstraintCompanion]

Inherited by implicit conversion Ensuring from PrefixedConstraintCompanion to Ensuring[PrefixedConstraintCompanion]

Inherited by implicit conversion ArrowAssoc from PrefixedConstraintCompanion to ArrowAssoc[PrefixedConstraintCompanion]

Ungrouped