Trait

scalax.collection.constrained

GraphLike

Related Doc: package constrained

Permalink

trait GraphLike[N, E[X] <: EdgeLikeIn[X], +This[X, Y[X] <: EdgeLikeIn[X]] <: GraphLike[X, Y[X], This] with Set[Param[X, Y[X]]] with Graph[X, Y[X]]] extends collection.GraphLike[N, E, This] with Constrained[N, E]

A template trait for graphs.

This trait provides the common structure and operations of immutable graphs independently of its representation.

If E inherits DirectedEdgeLike the graph is directed, otherwise it is undirected or mixed.

N

the user type of the nodes (vertices) in this graph.

E

the higher kinded type of the edges (links) in this graph.

This

the higher kinded type of the graph itself.

Self Type
This[N, E]
Linear Supertypes
Constrained[N, E], ConstraintHandlerMethods[N, E], ConstraintMethods[N, E], collection.GraphLike[N, E, This], GraphDegree[N, E], GraphTraversal[N, E], GraphBase[N, E], Serializable, Serializable, SetLike[Param[N, E], This[N, E]], Subtractable[Param[N, E], This[N, E]], GenSetLike[Param[N, E], This[N, E]], (Param[N, E]) ⇒ Boolean, IterableLike[Param[N, E], This[N, E]], GenIterableLike[Param[N, E], This[N, E]], TraversableLike[Param[N, E], This[N, E]], GenTraversableLike[Param[N, E], This[N, E]], Parallelizable[Param[N, E], ParSet[Param[N, E]]], TraversableOnce[Param[N, E]], GenTraversableOnce[Param[N, E]], FilterMonadic[Param[N, E], This[N, E]], HasNewBuilder[Param[N, E], This[N, E]], Equals, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GraphLike
  2. Constrained
  3. ConstraintHandlerMethods
  4. ConstraintMethods
  5. GraphLike
  6. GraphDegree
  7. GraphTraversal
  8. GraphBase
  9. Serializable
  10. Serializable
  11. SetLike
  12. Subtractable
  13. GenSetLike
  14. Function1
  15. IterableLike
  16. GenIterableLike
  17. TraversableLike
  18. GenTraversableLike
  19. Parallelizable
  20. TraversableOnce
  21. GenTraversableOnce
  22. FilterMonadic
  23. HasNewBuilder
  24. Equals
  25. AnyRef
  26. Any
Implicitly
  1. by anyToNode
  2. by MonadOps
  3. by CollectionsHaveToParArray
  4. by EdgeAssoc
  5. by predicateToNodePredicate
  6. by any2stringadd
  7. by StringFormat
  8. by Ensuring
  9. by ArrowAssoc
  10. by alternateImplicit
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class AbstractTopologicalOrder[+A, +T] extends AbstractTraversable[T]

    Permalink
    Definition Classes
    GraphTraversal
  2. abstract class Component extends Properties

    Permalink
    Attributes
    protected
    Definition Classes
    GraphTraversal
  3. abstract class ComponentTraverser extends FluentProperties[ComponentTraverser] with Properties with Traversable[Component]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphTraversal
  4. abstract type Config <: GraphConfig with GenConstrainedConfig

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike → GraphLike
  5. trait Cycle extends Path

    Permalink
    Definition Classes
    GraphTraversal
  6. type CycleNodeOrTopologicalOrder = Either[This.NodeT, This.TopologicalOrder[This.NodeT]]

    Permalink
    Definition Classes
    GraphTraversal
  7. trait DegreeFunction extends ((GraphDegree.this)#NodeT) ⇒ Int

    Permalink
    Definition Classes
    GraphDegree
  8. type DegreeNodeSeqEntry = (Int, This.NodeT)

    Permalink
    Definition Classes
    GraphDegree
  9. final class DegreeOrdering extends Ordering[(GraphDegree.this)#NodeT]

    Permalink
    Definition Classes
    GraphDegree
  10. trait Edge extends Serializable

    Permalink
    Definition Classes
    GraphBase
  11. class EdgeBase extends InnerEdgeParam[N, E, GraphBase.NodeT, E] with InnerEdge

    Permalink
    Definition Classes
    GraphBase
  12. type EdgeFilter = (This.EdgeT) ⇒ Boolean

    Permalink
    Definition Classes
    GraphBase
  13. sealed trait EdgeOrdering extends Ordering[EdgeT] with ElemOrdering

    Permalink
    Definition Classes
    GraphBase
  14. trait EdgeSet extends GraphLike.This.EdgeSet

    Permalink
    Definition Classes
    GraphLike
  15. abstract type EdgeSetT <: This.EdgeSet

    Permalink
    Definition Classes
    GraphLike → GraphBase
  16. abstract type EdgeT <: InnerEdgeParam[N, E, This.NodeT, E] with This.InnerEdge with Serializable

    Permalink
    Definition Classes
    GraphBase
  17. sealed trait ElemOrdering extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    GraphBase
  18. trait ExtendedNodeVisitor[U] extends (GraphTraversal.NodeT) ⇒ U with (GraphTraversal.NodeT, Int, Int, ⇒ NodeInformer) ⇒ U

    Permalink
    Definition Classes
    GraphTraversal
  19. trait Filter[T] extends (T) ⇒ Boolean

    Permalink
    Definition Classes
    GraphDegree
  20. abstract class FluentProperties[+This <: FluentProperties[This]] extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    GraphTraversal
  21. trait InnerEdge extends Iterable[GraphBase.NodeT] with InnerEdgeParam[N, E, GraphBase.NodeT, E] with Edge with InnerElem

    Permalink
    Definition Classes
    GraphBase
  22. abstract class InnerEdgeTraverser extends TraverserMethods[GraphTraversal.EdgeT, InnerEdgeTraverser] with Traverser[GraphTraversal.EdgeT, InnerEdgeTraverser]

    Permalink
    Definition Classes
    GraphTraversal
  23. sealed trait InnerElem extends AnyRef

    Permalink
    Definition Classes
    GraphBase
  24. abstract class InnerElemTraverser extends TraverserMethods[GraphTraversal.InnerElem, InnerElemTraverser] with Traverser[GraphTraversal.InnerElem, InnerElemTraverser]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphTraversal
  25. trait InnerNode extends GraphLike.This.InnerNode with GraphLike.This.TraverserInnerNode

    Permalink
    Definition Classes
    GraphLike
  26. abstract class InnerNodeDownUpTraverser extends TraverserMethods[(Boolean, GraphTraversal.NodeT), InnerNodeDownUpTraverser] with Traverser[(Boolean, GraphTraversal.NodeT), InnerNodeDownUpTraverser]

    Permalink
    Definition Classes
    GraphTraversal
  27. abstract class InnerNodeTraverser extends TraverserMethods[GraphTraversal.NodeT, InnerNodeTraverser] with Traverser[GraphTraversal.NodeT, InnerNodeTraverser]

    Permalink
    Definition Classes
    GraphTraversal
  28. case class Layer extends Product with Serializable

    Permalink
    Definition Classes
    GraphTraversal
  29. final class LayeredTopologicalOrder[+A] extends AbstractTopologicalOrder[A, (Int, Iterable[A])]

    Permalink
    Definition Classes
    GraphTraversal
  30. type Layers = Traversable[This.Layer]

    Permalink
    Definition Classes
    GraphTraversal
  31. trait Node extends Serializable

    Permalink
    Definition Classes
    GraphBase
  32. abstract class NodeBase extends GraphLike.This.NodeBase with InnerNodeParam[N] with GraphLike.This.InnerNode

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike
  33. type NodeFilter = (This.NodeT) ⇒ Boolean

    Permalink
    Definition Classes
    GraphBase
  34. sealed trait NodeOrdering extends Ordering[GraphBase.NodeT] with ElemOrdering

    Permalink
    Definition Classes
    GraphBase
  35. trait NodeSet extends GraphLike.This.NodeSet

    Permalink
    Definition Classes
    GraphLike
  36. abstract type NodeSetT <: This.NodeSet

    Permalink
    Definition Classes
    GraphLike → GraphBase
  37. abstract type NodeT <: This.InnerNode

    Permalink
    Definition Classes
    GraphLike → GraphTraversal → GraphBase
  38. abstract class OuterEdgeTraverser extends TraverserMethods[E[N], OuterEdgeTraverser] with Traverser[E[N], OuterEdgeTraverser]

    Permalink
    Definition Classes
    GraphTraversal
  39. trait OuterElemTraverser extends TraverserMethods[OuterElem[N, E], OuterElemTraverser] with Traverser[OuterElem[N, E], OuterElemTraverser]

    Permalink
    Definition Classes
    GraphTraversal
  40. abstract class OuterNodeDownUpTraverser extends TraverserMethods[(Boolean, N), OuterNodeDownUpTraverser] with Traverser[(Boolean, N), OuterNodeDownUpTraverser]

    Permalink
    Definition Classes
    GraphTraversal
  41. abstract class OuterNodeTraverser extends TraverserMethods[N, OuterNodeTraverser] with Traverser[N, OuterNodeTraverser]

    Permalink
    Definition Classes
    GraphTraversal
  42. trait Path extends Walk

    Permalink
    Definition Classes
    GraphTraversal
  43. trait PathBuilder extends WalkBuilder with Builder[GraphTraversal.InnerElem, Path]

    Permalink
    Definition Classes
    GraphTraversal
  44. trait Properties extends SubgraphProperties

    Permalink
    Attributes
    protected
    Definition Classes
    GraphTraversal
  45. type Self = This[N, E]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  46. trait SubgraphProperties extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    GraphTraversal
  47. type ThisGraph = GraphLike.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike
  48. final class TopologicalOrder[+A] extends AbstractTopologicalOrder[A, A]

    Permalink
    Definition Classes
    GraphTraversal
  49. trait Traverser[A, +This <: Traverser[A, This]] extends TraverserMethods[A, This] with Properties with Traversable[A]

    Permalink
    Definition Classes
    GraphTraversal
  50. trait TraverserInnerNode extends GraphTraversal.InnerNode

    Permalink
    Definition Classes
    GraphTraversal
  51. abstract class TraverserMethods[A, +This <: TraverserMethods[A, This]] extends FluentProperties[This]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphTraversal
  52. trait Walk extends Traversable[GraphTraversal.InnerElem]

    Permalink
    Definition Classes
    GraphTraversal
  53. trait WalkBuilder extends Builder[GraphTraversal.InnerElem, Walk]

    Permalink
    Definition Classes
    GraphTraversal
  54. class Weight extends AnyRef

    Permalink
    Definition Classes
    GraphTraversal
  55. class WithFilter extends FilterMonadic[A, Repr]

    Permalink
    Definition Classes
    TraversableLike

Abstract Value Members

  1. abstract def +(node: N): This[N, E]

    Permalink
    Definition Classes
    GraphLike
  2. abstract def +#(edge: E[N]): This[N, E]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike
  3. abstract def -(node: N): This[N, E]

    Permalink
    Definition Classes
    GraphLike
  4. abstract def -!#(edge: E[N]): This[N, E]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike
  5. abstract def -#(edge: E[N]): This[N, E]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike
  6. abstract def -?(node: N): This[N, E]

    Permalink
    Definition Classes
    GraphLike
  7. abstract def componentTraverser(parameters: Parameters, subgraphNodes: This.NodeFilter, subgraphEdges: This.EdgeFilter, ordering: This.ElemOrdering, maxWeight: Option[This.Weight]): This.ComponentTraverser

    Permalink
    Definition Classes
    GraphTraversal
  8. implicit abstract def config: generic.GraphConstrainedCompanion.Config with This.Config

    Permalink
    Definition Classes
    GraphLike
  9. abstract val constraintFactory: ConstraintCompanion[Constraint]

    Permalink
  10. implicit abstract val edgeT: ClassTag[E[N]]

    Permalink
    Definition Classes
    GraphLike
  11. abstract def edges: This.EdgeSetT

    Permalink
    Definition Classes
    GraphBase
  12. abstract def empty: This[N, E]

    Permalink
    Definition Classes
    SetLike
  13. abstract val graphCompanion: GraphConstrainedCompanion[This]

    Permalink
    Definition Classes
    GraphLike → GraphLike
  14. abstract def innerEdgeTraverser(root: This.NodeT, parameters: Parameters, subgraphNodes: This.NodeFilter, subgraphEdges: This.EdgeFilter, ordering: This.ElemOrdering, maxWeight: Option[This.Weight]): This.InnerEdgeTraverser

    Permalink
    Definition Classes
    GraphTraversal
  15. abstract def innerElemTraverser(root: This.NodeT, parameters: Parameters, subgraphNodes: This.NodeFilter, subgraphEdges: This.EdgeFilter, ordering: This.ElemOrdering, maxWeight: Option[This.Weight]): This.InnerElemTraverser

    Permalink
    Definition Classes
    GraphTraversal
  16. abstract def innerNodeDownUpTraverser(root: This.NodeT, parameters: Parameters, subgraphNodes: This.NodeFilter, subgraphEdges: This.EdgeFilter, ordering: This.ElemOrdering, maxWeight: Option[This.Weight]): This.InnerNodeDownUpTraverser

    Permalink
    Definition Classes
    GraphTraversal
  17. abstract def innerNodeTraverser(root: This.NodeT, parameters: Parameters, subgraphNodes: This.NodeFilter, subgraphEdges: This.EdgeFilter, ordering: This.ElemOrdering, maxWeight: Option[This.Weight]): This.InnerNodeTraverser

    Permalink
    Definition Classes
    GraphTraversal
  18. abstract def newEdge(innerEdge: E[This.NodeT]): This.EdgeT

    Permalink
    Attributes
    protected
    Definition Classes
    GraphBase
  19. abstract def newNode(n: N): This.NodeT

    Permalink
    Attributes
    protected
    Definition Classes
    GraphBase
  20. abstract def newPathBuilder(start: This.NodeT)(implicit sizeHint: Int, edgeSelector: (This.NodeT, This.NodeT) ⇒ Option[This.EdgeT]): This.PathBuilder

    Permalink
    Definition Classes
    GraphTraversal
  21. abstract def newWalkBuilder(start: This.NodeT)(implicit sizeHint: Int, edgeSelector: (This.NodeT, This.NodeT) ⇒ Option[This.EdgeT]): This.WalkBuilder

    Permalink
    Definition Classes
    GraphTraversal
  22. abstract def nodes: This.NodeSetT

    Permalink
    Definition Classes
    GraphBase
  23. abstract def outerEdgeTraverser(root: This.NodeT, parameters: Parameters, subgraphNodes: This.NodeFilter, subgraphEdges: This.EdgeFilter, ordering: This.ElemOrdering, maxWeight: Option[This.Weight]): This.OuterEdgeTraverser

    Permalink
    Definition Classes
    GraphTraversal
  24. abstract def outerElemTraverser(root: This.NodeT, parameters: Parameters, subgraphNodes: This.NodeFilter, subgraphEdges: This.EdgeFilter, ordering: This.ElemOrdering, maxWeight: Option[This.Weight]): This.OuterElemTraverser

    Permalink
    Definition Classes
    GraphTraversal
  25. abstract def outerNodeDownUpTraverser(root: This.NodeT, parameters: Parameters, subgraphNodes: This.NodeFilter, subgraphEdges: This.EdgeFilter, ordering: This.ElemOrdering, maxWeight: Option[This.Weight]): This.OuterNodeDownUpTraverser

    Permalink
    Definition Classes
    GraphTraversal
  26. abstract def outerNodeTraverser(root: This.NodeT, parameters: Parameters, subgraphNodes: This.NodeFilter, subgraphEdges: This.EdgeFilter, ordering: This.ElemOrdering, maxWeight: Option[This.Weight]): This.OuterNodeTraverser

    Permalink
    Definition Classes
    GraphTraversal
  27. abstract def preAdd(edge: E[N]): PreCheckResult

    Permalink

    This pre-check must return Abort if the addition is to be canceled, PostCheck if postAdd is to be called to decide or Complete if the outer edge is allowed to be added.

    This pre-check must return Abort if the addition is to be canceled, PostCheck if postAdd is to be called to decide or Complete if the outer edge is allowed to be added. If postAdd has been implemented, this method may always return PostCheck. This pre-check may be omitted by letting it always return postCheck and overriding the corresponding post-check commit* method. Use self to access the associated graph.

    edge

    to be added.

    returns

    The results of the pre-check containing the follow-up activity and possible any intermediate computation results to be used during the post-check. To add computation results PreCheckResult must be extended.

    Definition Classes
    ConstraintMethods
  28. abstract def preAdd(node: N): PreCheckResult

    Permalink

    This pre-check must return Abort if the addition is to be canceled, PostCheck if postAdd is to be called to decide or Complete if the outer node is allowed to be added.

    This pre-check must return Abort if the addition is to be canceled, PostCheck if postAdd is to be called to decide or Complete if the outer node is allowed to be added. If postAdd has been implemented, this method may always return PostCheck. This pre-check may be omitted by letting it always return postCheck and overriding the corresponding post-check commit* method. Use self to access the associated graph.

    node

    to be added

    returns

    The results of the pre-check containing the follow-up activity and possible any intermediate computation results to be used during the post-check. To add computation results PreCheckResult must be extended.

    Definition Classes
    ConstraintMethods
  29. abstract def preSubtract(edge: Graph.EdgeT, simple: Boolean): PreCheckResult

    Permalink

    This pre-check must return Abort if the subtraction of edge is to be canceled, PostCheck if postSubtract is to be called to decide or Complete if the the edge is allowed to be subtracted.

    This pre-check must return Abort if the subtraction of edge is to be canceled, PostCheck if postSubtract is to be called to decide or Complete if the the edge is allowed to be subtracted. This pre-check may be omitted by letting it always return postCheck and overriding the corresponding post-check commit* method. Use self to access the associated graph.

    edge

    the inner edge to be subtracted.

    simple

    true for standard (edge-only by -), false for ripple (by -!) removal.

    returns

    The results of the pre-check containing the follow-up activity and possible any intermediate computation results to be used during the post-check. To add computation results PreCheckResult must be extended.

    Definition Classes
    ConstraintMethods
  30. abstract def preSubtract(node: Graph.NodeT, forced: Boolean): PreCheckResult

    Permalink

    This pre-check must return Abort if the subtraction of node is to be canceled, PostCheck if postSubtract is to be called to decide or Complete if the the node is allowed to be subtracted.

    This pre-check must return Abort if the subtraction of node is to be canceled, PostCheck if postSubtract is to be called to decide or Complete if the the node is allowed to be subtracted. This pre-check may be omitted by letting it always return postCheck and overriding the corresponding post-check commit* method. Use self to access the associated graph.

    node

    the inner to be subtracted.

    forced

    true for standard (ripple by -), false for gentle (by -?) removal.

    returns

    The results of the pre-check containing the follow-up activity and possible any intermediate computation results to be used during the post-check. To add computation results PreCheckResult must be extended.

    Definition Classes
    ConstraintMethods
  31. abstract val self: Graph[N, E]

    Permalink

    When extending Constraint, self will denote the attached constrained graph.

    When extending Constraint, self will denote the attached constrained graph. The factory methods of the companion object scalax.collection.constrained.Graph initialize self to the correct graph instance. When extending Constrained, self will denote this graph.

    Definition Classes
    ConstraintMethods
  32. abstract def seq: Set[Param[N, E]]

    Permalink
    Definition Classes
    GenSetLike → Parallelizable → GenTraversableOnce

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &(that: GenSet[Param[N, E]]): This[N, E]

    Permalink
    Definition Classes
    GenSetLike
  4. def &~(that: GenSet[Param[N, E]]): This[N, E]

    Permalink
    Definition Classes
    GenSetLike
  5. def +(elem: Param[N, E]): This[N, E]

    Permalink
    Definition Classes
    GraphLike → SetLike → GenSetLike
  6. def +(elem1: Param[N, E], elem2: Param[N, E], elems: Param[N, E]*): This[N, E]

    Permalink
    Definition Classes
    SetLike
  7. def ++(elems: GenTraversableOnce[Param[N, E]]): GraphLike.this.type

    Permalink
    Definition Classes
    GraphLike → GraphLike → SetLike
  8. def ++[B >: Param[N, E], That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[This[N, E], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  9. def ++:[B >: Param[N, E], That](that: Traversable[B])(implicit bf: CanBuildFrom[This[N, E], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  10. def ++:[B >: Param[N, E], That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[This[N, E], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  11. def -(elem: Param[N, E]): This[N, E]

    Permalink
    Definition Classes
    GraphLike → SetLike → Subtractable → GenSetLike
  12. def -(elem1: Param[N, E], elem2: Param[N, E], elems: Param[N, E]*): This[N, E]

    Permalink
    Definition Classes
    Subtractable
  13. def -!(elem: Param[N, E]): This[N, E]

    Permalink
    Definition Classes
    GraphLike
  14. def --(elems: GenTraversableOnce[Param[N, E]]): This[N, E]

    Permalink
    Definition Classes
    GraphLike → GraphLike → Subtractable
  15. def --!(elems: GenTraversableOnce[Param[N, E]]): This[N, E]

    Permalink
    Definition Classes
    GraphLike
  16. def ->[B](y: B): (GraphLike[N, E, This], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to ArrowAssoc[GraphLike[N, E, This]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  17. def /:[B](z: B)(op: (B, Param[N, E]) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  18. def :\[B](z: B)(op: (Param[N, E], B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  19. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. object Edge extends Serializable

    Permalink
    Definition Classes
    GraphBase
    Annotations
    @transient()
  21. object InnerEdge extends Serializable

    Permalink
    Definition Classes
    GraphBase
    Annotations
    @transient()
  22. object InnerNode extends Serializable

    Permalink
    Definition Classes
    GraphBase
  23. object Node extends Serializable

    Permalink
    Definition Classes
    GraphBase
    Annotations
    @transient()
  24. object TraverserInnerNode extends Serializable

    Permalink
    Definition Classes
    GraphTraversal
    Annotations
    @transient()
  25. def addString(b: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  26. def addString(b: StringBuilder, sep: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  27. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  28. def aggregate[B](z: ⇒ B)(seqop: (B, Param[N, E]) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  29. def allNodes(innerNodes: Set[Graph.NodeT], innerEdges: Set[Graph.EdgeT]): Set[Graph.NodeT]

    Permalink

    Consolidates all inner nodes of the arguments by adding the edge ends of passedEdges to passedNodes.

    Consolidates all inner nodes of the arguments by adding the edge ends of passedEdges to passedNodes.

    Attributes
    protected
    Definition Classes
    ConstraintMethods
  30. def allNodes(passedNodes: Traversable[N], passedEdges: Traversable[E[N]]): Set[N]

    Permalink

    Consolidates all outer nodes of the arguments by adding the edge ends of passedEdges to passedNodes.

    Consolidates all outer nodes of the arguments by adding the edge ends of passedEdges to passedNodes.

    Attributes
    protected
    Definition Classes
    ConstraintMethods
  31. def andThen[A](g: (Boolean) ⇒ A): (Param[N, E]) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  32. final val anyEdge: This.EdgeFilter

    Permalink
    Definition Classes
    GraphBase
  33. final def anyEdgeSelector(from: This.NodeT, to: This.NodeT): Option[This.EdgeT]

    Permalink
    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  34. final val anyNode: This.NodeFilter

    Permalink
    Definition Classes
    GraphBase
  35. final lazy val anyOrdering: AnyOrdering[N]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphBase
  36. def apply(elem: Param[N, E]): Boolean

    Permalink
    Definition Classes
    GenSetLike → Function1
  37. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  38. def asSortedString(nodeSeparator: String, edgeSeparator: String, nodesEdgesSeparator: String, withNodesEdgesPrefix: Boolean)(implicit ordNode: This.NodeOrdering, ordEdge: This.EdgeOrdering): String

    Permalink
    Definition Classes
    GraphLike
  39. final def bulkOp(elems: GenTraversableOnce[Param[N, E]], isPlusPlus: Boolean): This[N, E]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike
  40. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    IterableLike → Equals
  41. var checkSuspended: Boolean

    Permalink

    This flag is used to prevent constraint checking for single additions and subtractions triggered by a multiple addition/subtraction such as ++=.

    This flag is used to prevent constraint checking for single additions and subtractions triggered by a multiple addition/subtraction such as ++=.

    Attributes
    protected
  42. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def collect[B, That](pf: PartialFunction[Param[N, E], B])(implicit bf: CanBuildFrom[This[N, E], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  44. def collectFirst[B](pf: PartialFunction[Param[N, E], B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  45. def compose[A](g: (A) ⇒ Param[N, E]): (A) ⇒ Boolean

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  46. def contains(elem: Param[N, E]): Boolean

    Permalink
    Definition Classes
    GraphLike → SetLike → GenSetLike
  47. def copyToArray[B >: Param[N, E]](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  48. def copyToArray[B >: Param[N, E]](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  49. def copyToArray[B >: Param[N, E]](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  50. def copyToBuffer[B >: Param[N, E]](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  51. def count(p: (Param[N, E]) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  52. final lazy val defaultEdgeOrdering: This.EdgeOrdering

    Permalink
    Definition Classes
    GraphBase
  53. final lazy val defaultNodeOrdering: This.NodeOrdering

    Permalink
    Definition Classes
    GraphBase
  54. final def defaultPathSize: Int

    Permalink
    Attributes
    protected
    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  55. def degreeCount(implicit nodeDegree: This.DegreeFunction, degreeFilter: (Int) ⇒ Boolean): SortedMap[Int, Int]

    Permalink
    Definition Classes
    GraphDegree
  56. def degreeNodeSeq(implicit nodeDegree: This.DegreeFunction, degreeFilter: (Int) ⇒ Boolean): Seq[This.DegreeNodeSeqEntry]

    Permalink
    Definition Classes
    GraphDegree
  57. def degreeNodesMap(implicit nodeDegree: This.DegreeFunction, degreeFilter: (Int) ⇒ Boolean): SortedMap[Int, AnySet[This.NodeT]]

    Permalink
    Definition Classes
    GraphDegree
  58. def degreeSeq(implicit nodeDegree: This.DegreeFunction, degreeFilter: (Int) ⇒ Boolean): Seq[Int]

    Permalink
    Definition Classes
    GraphDegree
  59. def degreeSet(implicit nodeDegree: This.DegreeFunction, degreeFilter: (Int) ⇒ Boolean): SortedSet[Int]

    Permalink
    Definition Classes
    GraphDegree
  60. def diff(that: GenSet[Param[N, E]]): This[N, E]

    Permalink
    Definition Classes
    SetLike → GenSetLike
  61. def drop(n: Int): This[N, E]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  62. def dropRight(n: Int): This[N, E]

    Permalink
    Definition Classes
    IterableLike
  63. def dropWhile(p: (Param[N, E]) ⇒ Boolean): This[N, E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  64. implicit final def edgeToEdgeCont(e: E[N]): E[This.NodeT]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphBase
    Annotations
    @inline()
  65. def ensuring(cond: (GraphLike[N, E, This]) ⇒ Boolean, msg: ⇒ Any): GraphLike[N, E, This]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to Ensuring[GraphLike[N, E, This]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  66. def ensuring(cond: (GraphLike[N, E, This]) ⇒ Boolean): GraphLike[N, E, This]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to Ensuring[GraphLike[N, E, This]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  67. def ensuring(cond: Boolean, msg: ⇒ Any): GraphLike[N, E, This]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to Ensuring[GraphLike[N, E, This]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  68. def ensuring(cond: Boolean): GraphLike[N, E, This]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to Ensuring[GraphLike[N, E, This]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  69. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  70. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    GraphLike → GenSetLike → Equals → AnyRef → Any
  71. def exists(p: (Param[N, E]) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  72. def filter(p: (Param[N, E]) ⇒ Boolean): This[N, E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  73. def filterNot(p: (Param[N, E]) ⇒ Boolean): This[N, E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  74. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  75. final def find(outerEdge: E[N]): Option[This.EdgeT]

    Permalink
    Definition Classes
    GraphLike
    Annotations
    @inline()
  76. final def find(outerNode: N): Option[This.NodeT]

    Permalink
    Definition Classes
    GraphLike
    Annotations
    @inline()
  77. def find(p: (Param[N, E]) ⇒ Boolean): Option[Param[N, E]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  78. final def findCycle[U](implicit visitor: (This.InnerElem) ⇒ U): Option[This.Cycle]

    Permalink
    Definition Classes
    GraphTraversal
  79. def flatMap[B, That](f: (Param[N, E]) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[This[N, E], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  80. def fold[A1 >: Param[N, E]](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  81. def foldLeft[B](z: B)(op: (B, Param[N, E]) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. def foldRight[B](z: B)(op: (Param[N, E], B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  83. def forall(p: (Param[N, E]) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  84. def foreach[U](f: (Param[N, E]) ⇒ U): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  85. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to StringFormat[GraphLike[N, E, This]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  86. final def get(outerEdge: E[N]): This.EdgeT

    Permalink
    Definition Classes
    GraphLike
    Annotations
    @inline()
  87. final def get(outerNode: N): This.NodeT

    Permalink
    Definition Classes
    GraphLike
    Annotations
    @inline()
  88. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  89. final def getOrElse(outerEdge: E[N], default: This.EdgeT): This.EdgeT

    Permalink
    Definition Classes
    GraphLike
    Annotations
    @inline()
  90. final def getOrElse(outerNode: N, default: This.NodeT): This.NodeT

    Permalink
    Definition Classes
    GraphLike
    Annotations
    @inline()
  91. def graphSize: Int

    Permalink
    Definition Classes
    GraphBase
  92. def groupBy[K](f: (Param[N, E]) ⇒ K): Map[K, This[N, E]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  93. def grouped(size: Int): Iterator[This[N, E]]

    Permalink
    Definition Classes
    IterableLike
  94. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  95. def hashCode(): Int

    Permalink
    Definition Classes
    GenSetLike → AnyRef → Any
  96. def having(node: This.NodeFilter, edge: This.EdgeFilter): PartialFunction[Param[N, E], Boolean]

    Permalink
    Definition Classes
    GraphLike
  97. def head: Param[N, E]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  98. def headOption: Option[Param[N, E]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  99. def init: This[N, E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  100. def initialize(nodes: Traversable[N], edges: Traversable[E[N]]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    GraphBase
  101. def inits: Iterator[This[N, E]]

    Permalink
    Definition Classes
    TraversableLike
  102. def intersect(that: GenSet[Param[N, E]]): This[N, E]

    Permalink
    Definition Classes
    GenSetLike
  103. final def isAcyclic: Boolean

    Permalink
    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  104. def isComplete: Boolean

    Permalink
    Definition Classes
    GraphTraversal
  105. def isConnected: Boolean

    Permalink
    Definition Classes
    GraphTraversal
  106. final def isCustomEdgeFilter(f: This.EdgeFilter): Boolean

    Permalink
    Definition Classes
    GraphBase
    Annotations
    @inline()
  107. final def isCustomNodeFilter(f: This.NodeFilter): Boolean

    Permalink
    Definition Classes
    GraphBase
    Annotations
    @inline()
  108. final def isCyclic: Boolean

    Permalink
    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  109. def isDefined: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to OuterNode[GraphLike[N, E, This]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    Param
  110. def isDirected: Boolean

    Permalink
    Definition Classes
    GraphLike → GraphBase
  111. final val isDirectedT: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike
  112. def isEdge: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to OuterNode[GraphLike[N, E, This]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  113. def isEmpty: Boolean

    Permalink
    Definition Classes
    SetLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  114. def isHyper: Boolean

    Permalink
    Definition Classes
    GraphLike → GraphBase
  115. final val isHyperT: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike
  116. def isIn: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to OuterNode[GraphLike[N, E, This]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    InParam → Param
  117. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  118. def isMulti: Boolean

    Permalink
    Definition Classes
    GraphLike → GraphBase
  119. final val isMultiT: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike
  120. def isNode: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to OuterNode[GraphLike[N, E, This]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  121. def isOut: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to OuterNode[GraphLike[N, E, This]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    InParam → Param
  122. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  123. final def isTrivial: Boolean

    Permalink
    Definition Classes
    GraphBase
    Annotations
    @inline()
  124. def iterator: Iterator[OutParam[N, E] with Serializable with This.InnerElem]

    Permalink
    Definition Classes
    GraphLike → GenSetLike → IterableLike → GenIterableLike
  125. def last: Param[N, E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  126. def lastOption: Option[Param[N, E]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  127. def map[B, That](f: (Param[N, E]) ⇒ B)(implicit bf: CanBuildFrom[This[N, E], B, That]): That

    Permalink
    Definition Classes
    SetLike → TraversableLike → GenTraversableLike → FilterMonadic
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) Set.map now returns a Set, so it will discard duplicate values.

  128. def max[B >: Param[N, E]](implicit cmp: Ordering[B]): Param[N, E]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  129. def maxBy[B](f: (Param[N, E]) ⇒ B)(implicit cmp: Ordering[B]): Param[N, E]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  130. def maxDegree(implicit nodeDegree: This.DegreeFunction, degreeFilter: (Int) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GraphDegree
  131. def min[B >: Param[N, E]](implicit cmp: Ordering[B]): Param[N, E]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  132. def minBy[B](f: (Param[N, E]) ⇒ B)(implicit cmp: Ordering[B]): Param[N, E]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  133. def minDegree(implicit nodeDegree: This.DegreeFunction, degreeFilter: (Int) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GraphDegree
  134. def minusMinus(delNodes: Traversable[N], delEdges: Traversable[E[N]]): This[N, E]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike → GraphLike
  135. def minusMinusNodesEdges(delNodes: Traversable[N], delEdges: Traversable[E[N]]): (Set[N], Set[E[N]])

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike
  136. def mkString: String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  137. def mkString(sep: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  138. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  139. val n1: GraphLike[N, E, This]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to EdgeAssoc[GraphLike[N, E, This]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
  140. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  141. def newBuilder: Builder[Param[N, E], This[N, E]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SetLike → TraversableLike → HasNewBuilder
  142. final val noNode: This.NodeFilter

    Permalink
    Definition Classes
    GraphBase
  143. def nonEmpty: Boolean

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  144. final def nonTrivial: Boolean

    Permalink
    Definition Classes
    GraphBase
    Annotations
    @inline()
  145. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  146. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  147. def onAdditionRefused(refusedNodes: Traversable[N], refusedEdges: Traversable[E[N]], graph: Graph[N, E]): Boolean

    Permalink

    This handler is called whenever an addition violates the constraints.

    This handler is called whenever an addition violates the constraints. The provided default implementation is empty.

    refusedNodes

    the nodes passed to preAdd.

    refusedEdges

    the edges passed to preAdd.

    returns

    must be true if the handler has been overridden but it doesn't throw an exception.

    Definition Classes
    ConstraintHandlerMethods
  148. def onSubtractionRefused(refusedNodes: Traversable[Graph.NodeT], refusedEdges: Traversable[Graph.EdgeT], graph: Graph[N, E]): Boolean

    Permalink

    This handler is called whenever a subtraction violates the constraints.

    This handler is called whenever a subtraction violates the constraints. The provided default implementation is empty.

    refusedNodes

    the nodes passed to preSubtract.

    refusedEdges

    the edges passed to preSubtract.

    returns

    must be true if the handler has been overridden but it doesn't throw an exception.

    Definition Classes
    ConstraintHandlerMethods
  149. def order: Int

    Permalink
    Definition Classes
    GraphBase
  150. def par: ParSet[Param[N, E]]

    Permalink
    Definition Classes
    Parallelizable
  151. def parCombiner: Combiner[Param[N, E], ParSet[Param[N, E]]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SetLike → TraversableLike → Parallelizable
  152. final def partition(elems: GenTraversableOnce[Param[N, E]]): Partitions[N, E]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike
  153. def partition(p: (Param[N, E]) ⇒ Boolean): (This[N, E], This[N, E])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  154. def plusPlus(newNodes: Traversable[N], newEdges: Traversable[E[N]]): This[N, E]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphLike → GraphLike
  155. def postAdd(newGraph: Graph[N, E], passedNodes: Traversable[N], passedEdges: Traversable[E[N]], preCheck: PreCheckResult): Boolean

    Permalink

    This post-check must return whether newGraph should be committed or the add operation is to be rolled back.

    This post-check must return whether newGraph should be committed or the add operation is to be rolled back. Use self to access the associated graph. For immutable graphs, self maintains the state before the addition but for mutable graphs, it is already mutated to the required state.

    newGraph

    the after-addition would-be graph waiting for commit.

    passedNodes

    nodes passed to the running add operation except those coming from node/edge input streams.

    passedEdges

    edges passed to the running add operation except those coming from edge input streams.

    Definition Classes
    ConstraintMethods
  156. def postSubtract(newGraph: Graph[N, E], passedNodes: Traversable[N], passedEdges: Traversable[E[N]], preCheck: PreCheckResult): Boolean

    Permalink

    This post-check must return whether newGraph should be committed or the subtraction is to be rolled back.

    This post-check must return whether newGraph should be committed or the subtraction is to be rolled back. Use self to access the associated graph. For immutable graphs, self maintains the state before the addition but for mutable graphs, it is already mutated to the required state.

    newGraph

    the after-subtraction would-be graph waiting for commit.

    Definition Classes
    ConstraintMethods
  157. def preAdd(elems: InParam[N, E]*): PreCheckResult

    Permalink

    This pre-check must return Abort if the addition of the outer nodes and/or edges in elems is to be canceled, PostCheck if postAdd is to be called to decide or Complete if the the outer nodes and/or edges are allowed to be added.

    This pre-check must return Abort if the addition of the outer nodes and/or edges in elems is to be canceled, PostCheck if postAdd is to be called to decide or Complete if the the outer nodes and/or edges are allowed to be added. If postAdd has been implemented, this method may always return PostCheck. The default implementation calls preAdd(node)/preAdd(edge) element-wise. As for most cases this won't be satisfactory a domain-specific implementation should be provided. Use self to access the associated graph.

    elems

    nodes and/or edges to be added possibly containing duplicates.

    returns

    The results of the pre-check containing the follow-up activity and possible any intermediate computation results to be used during the post-check. To add computation results PreCheckResult must be extended.

    Definition Classes
    ConstraintMethods
  158. def preCreate(nodes: Traversable[N], edges: Traversable[E[N]]): PreCheckResult

    Permalink

    This pre-check is called on constructing a graph through its companion object.

    This pre-check is called on constructing a graph through its companion object. It must return whether the graph is allowed to be populated with nodes and edges. The default implementation calls preAdd for each node and edge.

    Note that nodes and edges coming from node/edge input streams are not checked. So when utilizing streams the post check postAdd must be served.

    nodes

    the outer nodes the graph is to be populated with; nodes being edge ends may but need not be contained in nodes.

    edges

    the outer edges the graph is to be populated with.

    returns

    The results of the pre-check containing the follow-up activity and possible any intermediate computation results to be used during the post-check. To add computation results PreCheckResult must be extended.

    Definition Classes
    ConstraintMethods
  159. def preSubtract(nodes: ⇒ Set[Graph.NodeT], edges: ⇒ Set[Graph.EdgeT], simple: Boolean): PreCheckResult

    Permalink

    This pre-check must return Abort if the subtraction of nodes and/or edges is to be canceled, PostCheck if postSubtract is to be called to decide or Complete if nodes and/or edges are allowed to be subtracted.

    This pre-check must return Abort if the subtraction of nodes and/or edges is to be canceled, PostCheck if postSubtract is to be called to decide or Complete if nodes and/or edges are allowed to be subtracted. It is typically triggered by the -- operation. The default implementation element-wise calls preSubtract(node, simple) or preSubtract(edge, simple), respectively. As for most cases this won't be satisfactory a domain-specific implementation should be provided. Use self to access the associated graph.

    nodes

    the inner nodes to be subtracted not necessarily including the ends of edges to be subtracted. Call allNodes to get the complete set of nodes to be subtracted.

    edges

    the inner edges to be subtracted.

    simple

    true for standard (edge-only by -), false for ripple (by -!) removal.

    returns

    The results of the pre-check containing the follow-up activity and possible any intermediate computation results to be used during the post-check. To add computation results PreCheckResult must be extended.

    Definition Classes
    ConstraintMethods
  160. def product[B >: Param[N, E]](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  161. def reduce[A1 >: Param[N, E]](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  162. def reduceLeft[B >: Param[N, E]](op: (B, Param[N, E]) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  163. def reduceLeftOption[B >: Param[N, E]](op: (B, Param[N, E]) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  164. def reduceOption[A1 >: Param[N, E]](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  165. def reduceRight[B >: Param[N, E]](op: (Param[N, E], B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  166. def reduceRightOption[B >: Param[N, E]](op: (Param[N, E], B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  167. def repr: This[N, E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  168. def reversed: List[Param[N, E]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  169. def sameElements[B >: Param[N, E]](that: GenIterable[B]): Boolean

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  170. def scan[B >: Param[N, E], That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[This[N, E], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  171. def scanLeft[B, That](z: B)(op: (B, Param[N, E]) ⇒ B)(implicit bf: CanBuildFrom[This[N, E], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  172. def scanRight[B, That](z: B)(op: (Param[N, E], B) ⇒ B)(implicit bf: CanBuildFrom[This[N, E], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  173. def size: Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  174. def slice(from: Int, until: Int): This[N, E]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  175. def sliding(size: Int, step: Int): Iterator[This[N, E]]

    Permalink
    Definition Classes
    IterableLike
  176. def sliding(size: Int): Iterator[This[N, E]]

    Permalink
    Definition Classes
    IterableLike
  177. def span(p: (Param[N, E]) ⇒ Boolean): (This[N, E], This[N, E])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  178. def splitAt(n: Int): (This[N, E], This[N, E])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  179. def stringPrefix: String

    Permalink
    Definition Classes
    GraphLike → GraphLike → SetLike → TraversableLike → GenTraversableLike
  180. def subsetOf(that: GenSet[Param[N, E]]): Boolean

    Permalink
    Definition Classes
    GenSetLike
  181. def subsets(): Iterator[This[N, E]]

    Permalink
    Definition Classes
    SetLike
  182. def subsets(len: Int): Iterator[This[N, E]]

    Permalink
    Definition Classes
    SetLike
  183. def sum[B >: Param[N, E]](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  184. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  185. def tail: This[N, E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  186. def tails: Iterator[This[N, E]]

    Permalink
    Definition Classes
    TraversableLike
  187. def take(n: Int): This[N, E]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  188. def takeRight(n: Int): This[N, E]

    Permalink
    Definition Classes
    IterableLike
  189. def takeWhile(p: (Param[N, E]) ⇒ Boolean): This[N, E]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  190. def thisCollection: Iterable[Param[N, E]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  191. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Param[N, E], Col[Param[N, E]]]): Col[Param[N, E]]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  192. def toArray[B >: Param[N, E]](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  193. def toBuffer[A1 >: Param[N, E]]: Buffer[A1]

    Permalink
    Definition Classes
    SetLike → TraversableOnce → GenTraversableOnce
  194. def toCollection(repr: This[N, E]): Iterable[Param[N, E]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  195. def toIndexedSeq: IndexedSeq[Param[N, E]]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  196. def toIterable: Iterable[Param[N, E]]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  197. def toIterator: Iterator[Param[N, E]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  198. def toList: List[Param[N, E]]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  199. def toMap[T, U](implicit ev: <:<[Param[N, E], (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  200. def toParArray: ParArray[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to CollectionsHaveToParArray[GraphLike[N, E, This], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (GraphLike[N, E, This]) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray
  201. def toSeq: Seq[Param[N, E]]

    Permalink
    Definition Classes
    SetLike → TraversableOnce → GenTraversableOnce
  202. def toSet[B >: Param[N, E]]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  203. def toSortedString(nodeSeparator: String, edgeSeparator: String, nodesEdgesSeparator: String, withNodesEdgesPrefix: Boolean)(implicit ordNode: This.NodeOrdering, ordEdge: This.EdgeOrdering): String

    Permalink
    Definition Classes
    GraphLike
  204. def toStream: Stream[Param[N, E]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  205. def toString(): String

    Permalink
    Definition Classes
    GraphLike → SetLike → Function1 → TraversableLike → AnyRef → Any
  206. def toTraversable: Traversable[Param[N, E]]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  207. def toVector: Vector[Param[N, E]]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  208. final def topologicalSort[U](implicit visitor: (This.InnerElem) ⇒ U): This.CycleNodeOrTopologicalOrder

    Permalink
    Definition Classes
    GraphTraversal
  209. final def topologicalSortByComponent[U](implicit visitor: (This.InnerElem) ⇒ U): Traversable[This.CycleNodeOrTopologicalOrder]

    Permalink
    Definition Classes
    GraphTraversal
  210. def totalDegree(implicit nodeDegree: This.DegreeFunction, degreeFilter: (Int) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GraphDegree
  211. def totalWeight: Long

    Permalink
    Definition Classes
    GraphBase
  212. def union(that: GenSet[Param[N, E]]): This[N, E]

    Permalink
    Definition Classes
    SetLike → GenSetLike
  213. val value: GraphLike[N, E, This]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to OuterNode[GraphLike[N, E, This]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    OuterNode → NodeParam
  214. def view(from: Int, until: Int): IterableView[Param[N, E], This[N, E]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  215. def view: IterableView[Param[N, E], This[N, E]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  216. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  217. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  218. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  219. def withFilter(p: (Param[N, E]) ⇒ Boolean): FilterMonadic[Param[N, E], This[N, E]]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  220. final def withoutChecks[R](exec: ⇒ R): R

    Permalink
    Attributes
    protected
  221. def zip[A1 >: Param[N, E], B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[This[N, E], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  222. def zipAll[B, A1 >: Param[N, E], That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[This[N, E], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  223. def zipWithIndex[A1 >: Param[N, E], That](implicit bf: CanBuildFrom[This[N, E], (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  224. def |(that: GenSet[Param[N, E]]): This[N, E]

    Permalink
    Definition Classes
    GenSetLike
  225. def ~[N >: N1](n2: N): UnDiEdge[N]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to EdgeAssoc[GraphLike[N, E, This]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
    Annotations
    @inline()
  226. def ~>[N >: N1](n2: N): DiEdge[N]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to EdgeAssoc[GraphLike[N, E, This]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
    Annotations
    @inline()
  227. def [B](y: B): (GraphLike[N, E, This], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to ArrowAssoc[GraphLike[N, E, This]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to any2stringadd[GraphLike[N, E, This]] performed by method any2stringadd in scala.Predef.
    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:
    (graphLike: any2stringadd[GraphLike[N, E, This]]).+(other)
    Definition Classes
    any2stringadd
  2. def andThen[A](g: (Boolean) ⇒ A): (Param[Param[N, E], EI]) ⇒ A

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to (Param[Param[N, E], EI]) ⇒ Boolean performed by method predicateToNodePredicate 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:
    (graphLike: (Param[Param[N, E], EI]) ⇒ Boolean).andThen(g)
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  3. def apply(v1: Param[Param[N, E], EI]): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to (Param[Param[N, E], EI]) ⇒ Boolean performed by method predicateToNodePredicate 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:
    (graphLike: (Param[Param[N, E], EI]) ⇒ Boolean).apply(v1)
    Definition Classes
    Function1
  4. def compose[A](g: (A) ⇒ Param[Param[N, E], EI]): (A) ⇒ Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to (Param[Param[N, E], EI]) ⇒ Boolean performed by method predicateToNodePredicate 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:
    (graphLike: (Param[Param[N, E], EI]) ⇒ Boolean).compose(g)
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def filter(p: (Param[N, E]) ⇒ Boolean): TraversableOnce[Param[N, E]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to MonadOps[Param[N, E]] performed by method MonadOps in scala.collection.TraversableOnce.
    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:
    (graphLike: MonadOps[Param[N, E]]).filter(p)
    Definition Classes
    MonadOps
  6. def flatMap[B](f: (Param[N, E]) ⇒ GenTraversableOnce[B]): TraversableOnce[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to MonadOps[Param[N, E]] performed by method MonadOps in scala.collection.TraversableOnce.
    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:
    (graphLike: MonadOps[Param[N, E]]).flatMap(f)
    Definition Classes
    MonadOps
  7. def map[B](f: (Param[N, E]) ⇒ B): TraversableOnce[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to MonadOps[Param[N, E]] performed by method MonadOps in scala.collection.TraversableOnce.
    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:
    (graphLike: MonadOps[Param[N, E]]).map(f)
    Definition Classes
    MonadOps
  8. def stringPrefix: String

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to OuterNode[GraphLike[N, E, This]] 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:
    (graphLike: OuterNode[GraphLike[N, E, This]]).stringPrefix
    Definition Classes
    NodeParam
  9. def toString(): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to OuterNode[GraphLike[N, E, This]] 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:
    (graphLike: OuterNode[GraphLike[N, E, This]]).toString()
    Definition Classes
    NodeParam → AnyRef → Any
  10. def toString(): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to (Param[Param[N, E], EI]) ⇒ Boolean performed by method predicateToNodePredicate 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:
    (graphLike: (Param[Param[N, E], EI]) ⇒ Boolean).toString()
    Definition Classes
    Function1 → AnyRef → Any
  11. def withFilter(p: (Param[N, E]) ⇒ Boolean): Iterator[Param[N, E]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphLike[N, E, This] to MonadOps[Param[N, E]] performed by method MonadOps in scala.collection.TraversableOnce.
    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:
    (graphLike: MonadOps[Param[N, E]]).withFilter(p)
    Definition Classes
    MonadOps

Inherited from Constrained[N, E]

Inherited from ConstraintHandlerMethods[N, E]

Inherited from ConstraintMethods[N, E]

Inherited from collection.GraphLike[N, E, This]

Inherited from GraphDegree[N, E]

Inherited from GraphTraversal[N, E]

Inherited from GraphBase[N, E]

Inherited from Serializable

Inherited from Serializable

Inherited from SetLike[Param[N, E], This[N, E]]

Inherited from Subtractable[Param[N, E], This[N, E]]

Inherited from GenSetLike[Param[N, E], This[N, E]]

Inherited from (Param[N, E]) ⇒ Boolean

Inherited from IterableLike[Param[N, E], This[N, E]]

Inherited from GenIterableLike[Param[N, E], This[N, E]]

Inherited from TraversableLike[Param[N, E], This[N, E]]

Inherited from GenTraversableLike[Param[N, E], This[N, E]]

Inherited from Parallelizable[Param[N, E], ParSet[Param[N, E]]]

Inherited from TraversableOnce[Param[N, E]]

Inherited from GenTraversableOnce[Param[N, E]]

Inherited from FilterMonadic[Param[N, E], This[N, E]]

Inherited from HasNewBuilder[Param[N, E], This[N, E]]

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion anyToNode from GraphLike[N, E, This] to OuterNode[GraphLike[N, E, This]]

Inherited by implicit conversion MonadOps from GraphLike[N, E, This] to MonadOps[Param[N, E]]

Inherited by implicit conversion CollectionsHaveToParArray from GraphLike[N, E, This] to CollectionsHaveToParArray[GraphLike[N, E, This], T]

Inherited by implicit conversion EdgeAssoc from GraphLike[N, E, This] to EdgeAssoc[GraphLike[N, E, This]]

Inherited by implicit conversion predicateToNodePredicate from GraphLike[N, E, This] to (Param[Param[N, E], EI]) ⇒ Boolean

Inherited by implicit conversion any2stringadd from GraphLike[N, E, This] to any2stringadd[GraphLike[N, E, This]]

Inherited by implicit conversion StringFormat from GraphLike[N, E, This] to StringFormat[GraphLike[N, E, This]]

Inherited by implicit conversion Ensuring from GraphLike[N, E, This] to Ensuring[GraphLike[N, E, This]]

Inherited by implicit conversion ArrowAssoc from GraphLike[N, E, This] to ArrowAssoc[GraphLike[N, E, This]]

Inherited by implicit conversion alternateImplicit from GraphLike[N, E, This] to ForceImplicitAmbiguity

Ungrouped