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
  • package mutable

    Mutable constrained graph templates.

    Mutable constrained graph templates.

    Definition Classes
    constrained
  • AdjacencyListGraph
  • CompanionAlias
  • DAG
  • DefaultGraphImpl
  • Forest
  • Graph
  • GraphBuilder
  • GraphLike
  • Tree
  • UserConstrainedGraphImpl

abstract class CompanionAlias[E[X] <: EdgeLikeIn[X]] extends GraphConstrainedCompanionAlias[Graph, E]

Enables to quickly assemble mutable constrained graph companion modules. Example: {{ import scalax.collection.constrained.mutable.CompanionAlias import scalax.collection.constrained.constraints.Acyclic

object DAG extends CompanionAlias[DiEdge](Acyclic withStringPrefix "DAG") }}

Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompanionAlias
  2. GraphConstrainedCompanionAlias
  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 CompanionAlias(constraintCompanion: ConstraintCompanion[Constraint])(implicit adjacencyListHints: Hints = ArraySet.Hints())

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to any2stringadd[CompanionAlias[E]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (CompanionAlias[E], B)
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to ArrowAssoc[CompanionAlias[E]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def apply[N](elems: InParam[N, E]*)(implicit edgeT: ClassTag[E[N]], config: GraphConfig): constrained.Graph[N, E]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def empty[N](implicit edgeT: ClassTag[E[N]], config: GraphConfig): constrained.Graph[N, E]
  10. def ensuring(cond: (CompanionAlias[E]) ⇒ Boolean, msg: ⇒ Any): CompanionAlias[E]
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to Ensuring[CompanionAlias[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (CompanionAlias[E]) ⇒ Boolean): CompanionAlias[E]
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to Ensuring[CompanionAlias[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): CompanionAlias[E]
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to Ensuring[CompanionAlias[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): CompanionAlias[E]
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to Ensuring[CompanionAlias[E]] 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 CompanionAlias[E] to StringFormat[CompanionAlias[E]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. def from[N](nodes: Traversable[N], edges: Traversable[E[N]])(implicit edgeT: ClassTag[E[N]], config: GraphConfig): constrained.Graph[N, E]
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  21. def isDefined: Boolean
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to OuterNode[CompanionAlias[E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    Param
  22. def isEdge: Boolean
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to OuterNode[CompanionAlias[E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  23. def isIn: Boolean
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to OuterNode[CompanionAlias[E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    InParam → Param
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def isNode: Boolean
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to OuterNode[CompanionAlias[E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  26. def isOut: Boolean
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to OuterNode[CompanionAlias[E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    InParam → Param
  27. val n1: CompanionAlias[E]
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to EdgeAssoc[CompanionAlias[E]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  31. def stringPrefix: String
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to OuterNode[CompanionAlias[E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toParArray: ParArray[T]
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to CollectionsHaveToParArray[CompanionAlias[E], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (CompanionAlias[E]) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. val value: CompanionAlias[E]
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to OuterNode[CompanionAlias[E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    OuterNode → NodeParam
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def ~[N >: N1](n2: N): UnDiEdge[N]
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to EdgeAssoc[CompanionAlias[E]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
    Annotations
    @inline()
  40. def ~>[N >: N1](n2: N): DiEdge[N]
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to EdgeAssoc[CompanionAlias[E]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
    Annotations
    @inline()
  41. def [B](y: B): (CompanionAlias[E], B)
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to ArrowAssoc[CompanionAlias[E]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def toString(): String
    Implicit
    This member is added by an implicit conversion from CompanionAlias[E] to OuterNode[CompanionAlias[E]] 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:
    (companionAlias: OuterNode[CompanionAlias[E]]).toString()
    Definition Classes
    NodeParam → AnyRef → Any

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion anyToNode from CompanionAlias[E] to OuterNode[CompanionAlias[E]]

Inherited by implicit conversion CollectionsHaveToParArray from CompanionAlias[E] to CollectionsHaveToParArray[CompanionAlias[E], T]

Inherited by implicit conversion EdgeAssoc from CompanionAlias[E] to EdgeAssoc[CompanionAlias[E]]

Inherited by implicit conversion any2stringadd from CompanionAlias[E] to any2stringadd[CompanionAlias[E]]

Inherited by implicit conversion StringFormat from CompanionAlias[E] to StringFormat[CompanionAlias[E]]

Inherited by implicit conversion Ensuring from CompanionAlias[E] to Ensuring[CompanionAlias[E]]

Inherited by implicit conversion ArrowAssoc from CompanionAlias[E] to ArrowAssoc[CompanionAlias[E]]

Ungrouped