object DefaultGraphImpl extends MutableFactory[DefaultGraphImpl] with Serializable
- Alphabetic
- By Inheritance
- DefaultGraphImpl
- Serializable
- MutableFactory
- GenericGraphCoreFactory
- DefaultConfig
- GenericGraphFactory
- Factory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
-    type Coll = DefaultGraphImpl[_, Nothing]- Attributes
- protected[this]
- Definition Classes
- Factory
 
Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-   final  def ==(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-    def apply[N, E[X] <: Edge[X]](elems: OuterElem[N, E[N]]*)(implicit config: GraphConfig = defaultConfig): DefaultGraphImpl[N, E[N]]Creates a Graphwith a node set built from all nodes inelemsincluding edge ends and with an edge set containing all edges inelems.Creates a Graphwith a node set built from all nodes inelemsincluding edge ends and with an edge set containing all edges inelems. Duplicate exclusion takes place on the basis of values returned byhashCodeof the supplied nodes and edges. The hash-code value of an edge is determined by its ends and optionally by other edge components such asweightorlabel. To include non-node edge components in the hash-code of an edge make use of any of the predefined key-weighted/key-labeled edges or mixExtendedKeyinto your custom edge class.- elems
- sequence of nodes and/or edges in an arbitrary order 
- returns
- A new graph instance containing the nodes and edges derived from - elems.
 - Definition Classes
- GenericGraphFactory
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
 
-   final  def coreConfig(config: GraphConfig): GraphConfig with AdjacencyListArrayConfig- Attributes
- protected
- Definition Classes
- Factory
 
-    def defaultConfig: CoreConfig- Definition Classes
- DefaultConfig
 
-    def empty[N, E <: Edge[N]](implicit config: GraphConfig = defaultConfig): DefaultGraphImpl[N, E]Creates an empty Graphinstance.Creates an empty Graphinstance.- Definition Classes
- DefaultGraphImpl → GenericGraphFactory
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-    def fill[N, E <: Edge[N]](nr: Int)(elem: => OuterElem[N, E])(implicit config: GraphConfig = defaultConfig): DefaultGraphImpl[N, E]Produces a graph containing the results of some element computation a number of times. Produces a graph containing the results of some element computation a number of times. Duplicate exclusion takes place on the basis of values returned by hashCodeof the supplied nodes and edges. The hash-code value of an edge is determined by its ends and optionally by other edge components such asweightorlabel. To include non-node edge components in the hash-code of an edge make use of any of the predefined key-weighted/key-labeled edges or mixExtendedKeyinto your custom edge class.- nr
- the number of elements to be contained in the graph. 
- elem
- the element computation returning nodes or edges - nrtimes.
- returns
- A graph that contains the results of - nrevaluations of- elem.
 - Definition Classes
- GenericGraphFactory
 
-    def from[N, E[X] <: Edge[X]](edges: Iterable[E[N]]): DefaultGraphImpl[N, E[N]]- Definition Classes
- DefaultGraphImpl → GenericGraphFactory
 
-    def from[N, E <: Edge[N]](nodes: Iterable[N], edges: Iterable[E])(implicit config: GraphConfig = defaultConfig): DefaultGraphImpl[N, E]Produces a graph with a node set containing all nodesand edge ends inedgesand with an edge set containing alledgesbut duplicates.Produces a graph with a node set containing all nodesand edge ends inedgesand with an edge set containing alledgesbut duplicates. Duplicate exclusion takes place on the basis of values returned byhashCodeof the supplied nodes and edges. The hash-code value of an edge is determined by its ends and optionally by other edge components such asweightorlabel. To include non-node edge components in the hash-code of an edge make use of any of the predefined key-weighted/key-labeled edges or mixExtendedKeyinto your custom edge class.- nodes
- the isolated and optionally any other non-isolated nodes to be included in the node set of the graph to be created. 
- edges
- all edges to be included in the edge set of the graph to be created. Edge ends will be added to the node set automatically. 
- returns
- A new graph instance containing - nodesand all edge ends and- edges.
 - Definition Classes
- DefaultGraphImpl → GenericGraphFactory
 
-    def fromSpecific[N, E <: Edge[N]](nodes: Iterable[N], edges: Iterable[E])(implicit config: GraphConfig): DefaultGraphImpl[N, E]- Attributes
- protected[collection]
- Definition Classes
- Factory
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def newBuilder[N, E <: Edge[N]](implicit config: GraphConfig): Builder[N, E, DefaultGraphImpl]- Definition Classes
- MutableFactory → Factory
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): String- Definition Classes
- AnyRef → Any
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
Welcome to the Graph for Scala API reference. Some suggested entry points:
AnyGraphimmutable.Graphand its inner nodesmutable.Graphand its inner nodes.edgespackage and its subpackageshyperedgespackage and its subpackages.labeled edgespackagemultilabeled edgespackagelabeled hyperedgespackagemultilabeled hyperedgespackageordered labeled hyperedgespackageordered multilabeled hyperedgesobjectgenericpackage.GraphTraversalandTraverserInnerNode.RandomGraph.GraphGen.