class Graph[V, E] extends AnyRef
- Source
- graph.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Graph
- AnyRef
- Any
Implicitly
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Graph(vs: Map[V, Map[V, E]] = Map[V,Map[V,E]]())
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(a: V): Graph[V, E]
- def ++(es: Seq[(V, V, E)]): Graph[V, E]
- def ->[B](y: B): (Graph[V, E], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(a: V, b: V)(implicit f: (V, V) => E): Graph[V, E]
- def add(a: V, b: V, e: E): Graph[V, E]
- def add(a: V): Graph[V, E]
- def applyIf(t: Boolean, f: (Graph[V, E]) => Graph[V, E]): Graph[V, E]
- Implicit
- This member is added by an implicit conversion from Graph[V, E] toDrxAny[Graph[V, E]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Graph[V, E]) => Boolean)(f: (Graph[V, E]) => Graph[V, E]): Graph[V, E]
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Graph[V, E] toDrxAny[Graph[V, E]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def edge(a: V, b: V): Option[E]
- def edges: Iterator[(V, V, E)]
- def elementOf(xs: Set[Graph[V, E]]): Boolean
- Implicit
- This member is added by an implicit conversion from Graph[V, E] toDrxAny[Graph[V, E]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (Graph[V, E]) => Boolean, msg: => Any): Graph[V, E]
- def ensuring(cond: (Graph[V, E]) => Boolean): Graph[V, E]
- def ensuring(cond: Boolean, msg: => Any): Graph[V, E]
- def ensuring(cond: Boolean): Graph[V, E]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (Graph[V, E]) => Boolean): Option[Graph[V, E]]
- Implicit
- This member is added by an implicit conversion from Graph[V, E] toDrxAny[Graph[V, E]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionIf(f: (Graph[V, E]) => Boolean): Option[Graph[V, E]]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Graph[V, E] toDrxAny[Graph[V, E]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (Graph[V, E]) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Graph[V, E] toDrxAny[Graph[V, E]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def sideEffect(f: (Graph[V, E]) => Unit): Graph[V, E]
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Graph[V, E] toDrxAny[Graph[V, E]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (Graph[V, E]) => Boolean): Option[Graph[V, E]]
- Implicit
- This member is added by an implicit conversion from Graph[V, E] toDrxAny[Graph[V, E]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thisAny: Graph[V, E]
- Implicit
- This member is added by an implicit conversion from Graph[V, E] toDrxAny[Graph[V, E]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: Graph[V, E]): Bound[Graph[V, E]]
Bound construction since the Range constructor is deprecated
Bound construction since the Range constructor is deprecated
- def toString(): String
- Definition Classes
- Graph → AnyRef → Any
- def vertices(a: V): Iterable[V]
- def vertices: Iterable[V]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
Shadowed Implicit Value Members
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from Graph[V, E] toany2stringadd[Graph[V, E]] 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:(graph: any2stringadd[Graph[V, E]]).+(other)
- Definition Classes
- any2stringadd
Deprecated Value Members
- def ?>(f: (Graph[V, E]) => Boolean): Option[Graph[V, E]]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Graph[V, E] toDrxAny[Graph[V, E]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def |>[B](f: (Graph[V, E]) => B): B
- Implicit
- This member is added by an implicit conversion from Graph[V, E] toDrxAny[Graph[V, E]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (Graph[V, E], B)
- Implicit
- This member is added by an implicit conversion from Graph[V, E] toArrowAssoc[Graph[V, E]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.