trait NodeSet extends Set[(GraphLike.this)#NodeT] with (GraphLike.this)#NodeSet
- Alphabetic
- By Inheritance
- NodeSet
- NodeSet
- NodeSet
- ExtSetMethods
- Set
- SetLike
- Cloneable
- Cloneable
- Cloneable
- Shrinkable
- Builder
- Growable
- Clearable
- Scriptable
- Set
- SetLike
- Subtractable
- GenSet
- GenericSetTemplate
- GenSetLike
- Function1
- Iterable
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- Traversable
- Mutable
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
- by anyToNode
- by CollectionsHaveToParArray
- by MonadOps
- by flattenTraversableOnce
- by EdgeAssoc
- by predicateToNodePredicate
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- by alternateImplicit
- Hide All
- Show All
- Public
- All
Type Members
-
type
Self = Set[(GraphLike.this)#NodeT]
- Attributes
- protected[this]
- Definition Classes
- TraversableLike
-
class
WithFilter extends FilterMonadic[A, Repr]
- Definition Classes
- TraversableLike
Abstract Value Members
-
abstract
def
+=(elem: (GraphLike.this)#NodeT): NodeSet.this.type
- Definition Classes
- SetLike → Builder → Growable
-
abstract
def
contains(elem: (GraphLike.this)#NodeT): Boolean
- Definition Classes
- SetLike → GenSetLike
-
abstract
def
copy: (GraphLike.this)#NodeSetT
- Attributes
- protected
- Definition Classes
- NodeSet
-
abstract
def
draw(random: Random): (GraphLike.this)#NodeT
Returns a random element of the set if it is
nonEmpty
otherwise throwsIllegalArgumentException
.Returns a random element of the set if it is
nonEmpty
otherwise throwsIllegalArgumentException
.- random
a random generator; it is essential that
random
be instantiated by the caller just once for any sequence of calls
- Definition Classes
- NodeSet → ExtSetMethods
-
abstract
def
find(outerNode: N): Option[(GraphLike.this)#NodeT]
Finds the inner node corresponding to
outerNode
.Finds the inner node corresponding to
outerNode
.- returns
the inner node wrapped by
Some
if found, otherwise None.
- Definition Classes
- NodeSet
-
abstract
def
findElem[B](toMatch: B, correspond: ((GraphLike.this)#NodeT, B) ⇒ Boolean): (GraphLike.this)#NodeT
Finds an entry in the collection based on
toMatch
'shashCode
and a correspondence function but not on the argument type.Finds an entry in the collection based on
toMatch
'shashCode
and a correspondence function but not on the argument type.- toMatch
a value not necessarily of type
A
; the entry to be searched for must have the samehashCode
and be equal to this argument- correspond
function returning whether a given entry corresponds to
other
- returns
the entry corresponding to
toMatch
or null if not contained
- Definition Classes
- ExtSetMethods
-
abstract
def
get(outerNode: N): (GraphLike.this)#NodeT
Finds the inner node corresponding to
outerNode
.Finds the inner node corresponding to
outerNode
.- returns
the inner node if found, otherwise
NoSuchElementException
is thrown.
- Definition Classes
- NodeSet
-
abstract
def
initialize(nodes: Traversable[N], edges: Traversable[E[N]]): Unit
This method is called by the primary constructor.
This method is called by the primary constructor. It must be defined by the trait responsible for the implementation of the graph representation.
- nodes
The isolated (and optionally any other) outer nodes that the node set of this graph is to be populated with.
- edges
The outer edges that the edge set of this graph is to be populated with. Nodes being the end of any of these edges will be added to the node set.
- Attributes
- protected[scalax.collection]
- Definition Classes
- NodeSet
-
abstract
def
iterator: Iterator[(GraphLike.this)#NodeT]
- Definition Classes
- GenSetLike → GenIterableLike
-
abstract
def
lookup(outerNode: N): (GraphLike.this)#NodeT
Finds the inner node corresponding to
outerNode
.Finds the inner node corresponding to
outerNode
.- returns
the inner node if found, otherwise
null
.
- Definition Classes
- NodeSet
-
abstract
def
minus(node: (GraphLike.this)#NodeT): Unit
removes
node
from this node set leaving the edge set unchanged.removes
node
from this node set leaving the edge set unchanged.- node
the node to be removed from the node set.
- Attributes
- protected
- Definition Classes
- NodeSet
-
abstract
def
minusEdges(node: (GraphLike.this)#NodeT): Unit
removes all incident edges of
node
from the edge set leaving the node set unchanged.removes all incident edges of
node
from the edge set leaving the node set unchanged.- node
the node the incident edges of which are to be removed from the edge set.
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
&(that: GenSet[(GraphLike.this)#NodeT]): Set[(GraphLike.this)#NodeT]
- Definition Classes
- GenSetLike
-
def
&~(that: GenSet[(GraphLike.this)#NodeT]): Set[(GraphLike.this)#NodeT]
- Definition Classes
- GenSetLike
-
def
+(elem1: (GraphLike.this)#NodeT, elem2: (GraphLike.this)#NodeT, elems: (GraphLike.this)#NodeT*): Set[(GraphLike.this)#NodeT]
- Definition Classes
- SetLike → SetLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
+
creates a new set. Use+=
to add an element to this set and return that set itself.
-
def
+(elem: (GraphLike.this)#NodeT): Set[(GraphLike.this)#NodeT]
- Definition Classes
- SetLike → SetLike → GenSetLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
+
creates a new set. Use+=
to add an element to this set and return that set itself.
-
def
++(xs: GenTraversableOnce[(GraphLike.this)#NodeT]): Set[(GraphLike.this)#NodeT]
- Definition Classes
- SetLike → SetLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
++
creates a new set. Use++=
to add elements to this set and return that set itself.
-
def
++[B >: (GraphLike.this)#NodeT, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Set[(GraphLike.this)#NodeT], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:[B >: (GraphLike.this)#NodeT, That](that: Traversable[B])(implicit bf: CanBuildFrom[Set[(GraphLike.this)#NodeT], B, That]): That
- Definition Classes
- TraversableLike
-
def
++:[B >: (GraphLike.this)#NodeT, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Set[(GraphLike.this)#NodeT], B, That]): That
- Definition Classes
- TraversableLike
-
def
++=(xs: TraversableOnce[(GraphLike.this)#NodeT]): NodeSet.this.type
- Definition Classes
- Growable
-
def
+=(elem1: (GraphLike.this)#NodeT, elem2: (GraphLike.this)#NodeT, elems: (GraphLike.this)#NodeT*): NodeSet.this.type
- Definition Classes
- Growable
-
final
def
-(node: (GraphLike.this)#NodeT): (GraphLike.this)#NodeSetT
- Definition Classes
- NodeSet → SetLike → Subtractable → GenSetLike
-
def
-(elem1: (GraphLike.this)#NodeT, elem2: (GraphLike.this)#NodeT, elems: (GraphLike.this)#NodeT*): Set[(GraphLike.this)#NodeT]
- Definition Classes
- SetLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new set. Use-=
to remove an element from this set and return that set itself.
-
def
--(xs: GenTraversableOnce[(GraphLike.this)#NodeT]): Set[(GraphLike.this)#NodeT]
- Definition Classes
- SetLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
--
creates a new set. Use--=
to remove elements from this set and return that set itself.
-
def
--=(xs: TraversableOnce[(GraphLike.this)#NodeT]): NodeSet.this.type
- Definition Classes
- Shrinkable
-
final
def
-=(node: (GraphLike.this)#NodeT): NodeSet.this.type
- Definition Classes
- NodeSet → SetLike → Shrinkable
- Annotations
- @inline()
-
def
-=(elem1: (GraphLike.this)#NodeT, elem2: (GraphLike.this)#NodeT, elems: (GraphLike.this)#NodeT*): NodeSet.this.type
- Definition Classes
- Shrinkable
- def ->[B](y: B): ((GraphLike.this)#NodeSet, B)
-
final
def
-?(node: (GraphLike.this)#NodeT): (GraphLike.this)#NodeSetT
- Annotations
- @inline()
-
final
def
-?=(node: (GraphLike.this)#NodeT): NodeSet.this.type
- Annotations
- @inline()
-
def
/:[B](z: B)(op: (B, (GraphLike.this)#NodeT) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
:\[B](z: B)(op: ((GraphLike.this)#NodeT, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(elem: (GraphLike.this)#NodeT): Boolean
- Definition Classes
- SetLike
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
adjacencyListsToString: String
- Definition Classes
- NodeSet
-
def
aggregate[B](z: ⇒ B)(seqop: (B, (GraphLike.this)#NodeT) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
andThen[A](g: (Boolean) ⇒ A): ((GraphLike.this)#NodeT) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(elem: (GraphLike.this)#NodeT): Boolean
- Definition Classes
- GenSetLike → Function1
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asSortedString(separator: String = GraphBase.defaultSeparator)(implicit ord: (GraphLike.this)#NodeOrdering = defaultNodeOrdering): String
Sorts all nodes according to
ord
and concatenates them usingseparator
.Sorts all nodes according to
ord
and concatenates them usingseparator
.- separator
to separate nodes by.
- ord
custom ordering.
- returns
sorted and concatenated string representation of this node set.
- Definition Classes
- NodeSet
-
def
canEqual(that: Any): Boolean
- Definition Classes
- IterableLike → Equals
-
def
clear(): Unit
- Definition Classes
- SetLike → Builder → Growable → Clearable
-
def
clone(): Set[(GraphLike.this)#NodeT]
- Definition Classes
- SetLike → Cloneable → AnyRef
-
def
collect[B, That](pf: PartialFunction[(GraphLike.this)#NodeT, B])(implicit bf: CanBuildFrom[Set[(GraphLike.this)#NodeT], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
collectFirst[B](pf: PartialFunction[(GraphLike.this)#NodeT, B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
companion: GenericCompanion[Set]
- Definition Classes
- Set → Set → GenSet → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
-
def
compose[A](g: (A) ⇒ (GraphLike.this)#NodeT): (A) ⇒ Boolean
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
copyToArray[B >: (GraphLike.this)#NodeT](xs: Array[B], start: Int, len: Int): Unit
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: (GraphLike.this)#NodeT](xs: Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: (GraphLike.this)#NodeT](xs: Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: (GraphLike.this)#NodeT](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
def
count(p: ((GraphLike.this)#NodeT) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
diff(that: GenSet[(GraphLike.this)#NodeT]): Set[(GraphLike.this)#NodeT]
- Definition Classes
- SetLike → GenSetLike
-
def
drop(n: Int): Set[(GraphLike.this)#NodeT]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
dropRight(n: Int): Set[(GraphLike.this)#NodeT]
- Definition Classes
- IterableLike
-
def
dropWhile(p: ((GraphLike.this)#NodeT) ⇒ Boolean): Set[(GraphLike.this)#NodeT]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
empty: Set[(GraphLike.this)#NodeT]
- Definition Classes
- GenericSetTemplate
- def ensuring(cond: ((GraphLike.this)#NodeSet) ⇒ Boolean, msg: ⇒ Any): (GraphLike.this)#NodeSet
- def ensuring(cond: ((GraphLike.this)#NodeSet) ⇒ Boolean): (GraphLike.this)#NodeSet
- def ensuring(cond: Boolean, msg: ⇒ Any): (GraphLike.this)#NodeSet
- def ensuring(cond: Boolean): (GraphLike.this)#NodeSet
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- GenSetLike → Equals → AnyRef → Any
-
def
exists(p: ((GraphLike.this)#NodeT) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
filter(p: ((GraphLike.this)#NodeT) ⇒ Boolean): Set[(GraphLike.this)#NodeT]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
filterNot(p: ((GraphLike.this)#NodeT) ⇒ Boolean): Set[(GraphLike.this)#NodeT]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: ((GraphLike.this)#NodeT) ⇒ Boolean): Option[(GraphLike.this)#NodeT]
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
flatMap[B, That](f: ((GraphLike.this)#NodeT) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Set[(GraphLike.this)#NodeT], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
flatten[B](implicit asTraversable: ((GraphLike.this)#NodeT) ⇒ GenTraversableOnce[B]): Set[B]
- Definition Classes
- GenericTraversableTemplate
-
def
fold[A1 >: (GraphLike.this)#NodeT](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[B](z: B)(op: (B, (GraphLike.this)#NodeT) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldRight[B](z: B)(op: ((GraphLike.this)#NodeT, B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
forall(p: ((GraphLike.this)#NodeT) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach[U](f: ((GraphLike.this)#NodeT) ⇒ U): Unit
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
- def formatted(fmtstr: String): String
-
def
genericBuilder[B]: Builder[B, Set[B]]
- Definition Classes
- GenericTraversableTemplate
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
groupBy[K](f: ((GraphLike.this)#NodeT) ⇒ K): Map[K, Set[(GraphLike.this)#NodeT]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
grouped(size: Int): Iterator[Set[(GraphLike.this)#NodeT]]
- Definition Classes
- IterableLike
-
def
handleNotGentlyRemovable: Boolean
- Attributes
- protected
- Definition Classes
- NodeSet
-
def
hasDefiniteSize: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
hashCode(): Int
- Definition Classes
- GenSetLike → AnyRef → Any
-
def
head: (GraphLike.this)#NodeT
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
headOption: Option[(GraphLike.this)#NodeT]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
init: Set[(GraphLike.this)#NodeT]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
inits: Iterator[Set[(GraphLike.this)#NodeT]]
- Definition Classes
- TraversableLike
-
def
intersect(that: GenSet[(GraphLike.this)#NodeT]): Set[(GraphLike.this)#NodeT]
- Definition Classes
- GenSetLike
-
def
isDefined: Boolean
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to OuterNode[(GraphLike.this)#NodeSet] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
-
def
isEdge: Boolean
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to OuterNode[(GraphLike.this)#NodeSet] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- NodeParam
-
def
isEmpty: Boolean
- Definition Classes
- SetLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
- def isIn: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNode: Boolean
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to OuterNode[(GraphLike.this)#NodeSet] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- NodeParam
- def isOut: Boolean
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
def
last: (GraphLike.this)#NodeT
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
lastOption: Option[(GraphLike.this)#NodeT]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
map[B, That](f: ((GraphLike.this)#NodeT) ⇒ B)(implicit bf: CanBuildFrom[Set[(GraphLike.this)#NodeT], B, That]): That
- 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.
-
def
mapResult[NewTo](f: (Set[(GraphLike.this)#NodeT]) ⇒ NewTo): Builder[(GraphLike.this)#NodeT, NewTo]
- Definition Classes
- Builder
-
def
max[B >: (GraphLike.this)#NodeT](implicit cmp: Ordering[B]): (GraphLike.this)#NodeT
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: ((GraphLike.this)#NodeT) ⇒ B)(implicit cmp: Ordering[B]): (GraphLike.this)#NodeT
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
min[B >: (GraphLike.this)#NodeT](implicit cmp: Ordering[B]): (GraphLike.this)#NodeT
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: ((GraphLike.this)#NodeT) ⇒ B)(implicit cmp: Ordering[B]): (GraphLike.this)#NodeT
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString: String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(sep: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(start: String, sep: String, end: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
val
n1: (GraphLike.this)#NodeSet
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to EdgeAssoc[(GraphLike.this)#NodeSet] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder: Builder[(GraphLike.this)#NodeT, Set[(GraphLike.this)#NodeT]]
- Attributes
- protected[this]
- Definition Classes
- SetLike → SetLike → TraversableLike → HasNewBuilder
-
def
nonEmpty: Boolean
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
par: ParSet[(GraphLike.this)#NodeT]
- Definition Classes
- Parallelizable
-
def
parCombiner: Combiner[(GraphLike.this)#NodeT, ParSet[(GraphLike.this)#NodeT]]
- Attributes
- protected[this]
- Definition Classes
- SetLike → SetLike → TraversableLike → Parallelizable
-
def
partition(p: ((GraphLike.this)#NodeT) ⇒ Boolean): (Set[(GraphLike.this)#NodeT], Set[(GraphLike.this)#NodeT])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
product[B >: (GraphLike.this)#NodeT](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduce[A1 >: (GraphLike.this)#NodeT](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: (GraphLike.this)#NodeT](op: (B, (GraphLike.this)#NodeT) ⇒ B): B
- Definition Classes
- TraversableOnce
-
def
reduceLeftOption[B >: (GraphLike.this)#NodeT](op: (B, (GraphLike.this)#NodeT) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: (GraphLike.this)#NodeT](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: (GraphLike.this)#NodeT](op: ((GraphLike.this)#NodeT, B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: (GraphLike.this)#NodeT](op: ((GraphLike.this)#NodeT, B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
remove(node: (GraphLike.this)#NodeT): Boolean
- Definition Classes
- NodeSet → SetLike
- def removeGently(node: (GraphLike.this)#NodeT): Boolean
-
def
repr: Set[(GraphLike.this)#NodeT]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
result(): Set[(GraphLike.this)#NodeT]
- Definition Classes
- SetLike → Builder
-
def
retain(p: ((GraphLike.this)#NodeT) ⇒ Boolean): Unit
- Definition Classes
- SetLike
-
def
reversed: List[(GraphLike.this)#NodeT]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
sameElements[B >: (GraphLike.this)#NodeT](that: GenIterable[B]): Boolean
- Definition Classes
- IterableLike → GenIterableLike
-
def
scan[B >: (GraphLike.this)#NodeT, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Set[(GraphLike.this)#NodeT], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft[B, That](z: B)(op: (B, (GraphLike.this)#NodeT) ⇒ B)(implicit bf: CanBuildFrom[Set[(GraphLike.this)#NodeT], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanRight[B, That](z: B)(op: ((GraphLike.this)#NodeT, B) ⇒ B)(implicit bf: CanBuildFrom[Set[(GraphLike.this)#NodeT], B, That]): That
- 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.
-
def
seq: Set[(GraphLike.this)#NodeT]
- Definition Classes
- Set → Set → GenSet → GenSetLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
size: Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
sizeHint(coll: TraversableLike[_, _], delta: Int): Unit
- Definition Classes
- Builder
-
def
sizeHint(coll: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHint(size: Int): Unit
- Definition Classes
- Builder
-
def
sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHintIfCheap: Int
- Attributes
- protected[scala.collection]
- Definition Classes
- GenTraversableOnce
-
def
slice(from: Int, until: Int): Set[(GraphLike.this)#NodeT]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
sliding(size: Int, step: Int): Iterator[Set[(GraphLike.this)#NodeT]]
- Definition Classes
- IterableLike
-
def
sliding(size: Int): Iterator[Set[(GraphLike.this)#NodeT]]
- Definition Classes
- IterableLike
-
def
span(p: ((GraphLike.this)#NodeT) ⇒ Boolean): (Set[(GraphLike.this)#NodeT], Set[(GraphLike.this)#NodeT])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
splitAt(n: Int): (Set[(GraphLike.this)#NodeT], Set[(GraphLike.this)#NodeT])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
stringPrefix: String
- Definition Classes
- NodeSet → SetLike → TraversableLike → GenTraversableLike
-
def
subsetOf(that: GenSet[(GraphLike.this)#NodeT]): Boolean
- Definition Classes
- GenSetLike
-
def
subsets(): Iterator[Set[(GraphLike.this)#NodeT]]
- Definition Classes
- SetLike
-
def
subsets(len: Int): Iterator[Set[(GraphLike.this)#NodeT]]
- Definition Classes
- SetLike
-
final
def
subtract(node: (GraphLike.this)#NodeT, rippleDelete: Boolean, minusNode: ((GraphLike.this)#NodeT) ⇒ Unit, minusEdges: ((GraphLike.this)#NodeT) ⇒ Unit): Boolean
removes
node
either rippling or gently.removes
node
either rippling or gently.- node
the node to be subtracted
- rippleDelete
if
true
,node
will be deleted with its incident edges; otherwisenode
will be only deleted if it has no incident edges or all its incident edges are hooks.- minusNode
implementation of node removal without considering incident edges.
- minusEdges
implementation of removal of all incident edges.
- returns
true
ifnode
has been removed.
- Attributes
- protected[scalax.collection]
- Definition Classes
- NodeSet
-
def
sum[B >: (GraphLike.this)#NodeT](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: Set[(GraphLike.this)#NodeT]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
tails: Iterator[Set[(GraphLike.this)#NodeT]]
- Definition Classes
- TraversableLike
-
def
take(n: Int): Set[(GraphLike.this)#NodeT]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
takeRight(n: Int): Set[(GraphLike.this)#NodeT]
- Definition Classes
- IterableLike
-
def
takeWhile(p: ((GraphLike.this)#NodeT) ⇒ Boolean): Set[(GraphLike.this)#NodeT]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
thisCollection: Iterable[(GraphLike.this)#NodeT]
- Attributes
- protected[this]
- Definition Classes
- IterableLike → TraversableLike
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, (GraphLike.this)#NodeT, Col[(GraphLike.this)#NodeT]]): Col[(GraphLike.this)#NodeT]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
toArray[B >: (GraphLike.this)#NodeT](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toBuffer[A1 >: (GraphLike.this)#NodeT]: Buffer[A1]
- Definition Classes
- SetLike → TraversableOnce → GenTraversableOnce
-
def
toCollection(repr: Set[(GraphLike.this)#NodeT]): Iterable[(GraphLike.this)#NodeT]
- Attributes
- protected[this]
- Definition Classes
- IterableLike → TraversableLike
-
def
toIndexedSeq: IndexedSeq[(GraphLike.this)#NodeT]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIterable: Iterable[(GraphLike.this)#NodeT]
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
toIterator: Iterator[(GraphLike.this)#NodeT]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toList: List[(GraphLike.this)#NodeT]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toMap[T, U](implicit ev: <:<[(GraphLike.this)#NodeT, (T, U)]): Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toOuter: Set[N]
Converts this node set to a set of outer nodes.
Converts this node set to a set of outer nodes.
- Definition Classes
- NodeSet
-
def
toParArray: ParArray[T]
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to CollectionsHaveToParArray[(GraphLike.this)#NodeSet, T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type ((GraphLike.this)#NodeSet) ⇒ GenTraversableOnce[T] is in scope.
- Definition Classes
- CollectionsHaveToParArray
-
def
toSeq: Seq[(GraphLike.this)#NodeT]
- Definition Classes
- SetLike → SetLike → TraversableOnce → GenTraversableOnce
-
def
toSet[B >: (GraphLike.this)#NodeT]: Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSortedString(separator: String = GraphBase.defaultSeparator)(implicit ord: (GraphLike.this)#NodeOrdering = defaultNodeOrdering): String
Sorts all nodes according to
ord
, concatenates them usingseparator
and prefixes and parenthesizes the result withstringPrefix
.Sorts all nodes according to
ord
, concatenates them usingseparator
and prefixes and parenthesizes the result withstringPrefix
.- separator
to separate nodes by.
- ord
custom ordering.
- returns
sorted, concatenated and prefixed string representation of this node set.
- Definition Classes
- NodeSet
-
def
toStream: Stream[(GraphLike.this)#NodeT]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
-
def
toString(): String
- Definition Classes
- SetLike → Function1 → TraversableLike → AnyRef → Any
-
def
toTraversable: Traversable[(GraphLike.this)#NodeT]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toVector: Vector[(GraphLike.this)#NodeT]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
transpose[B](implicit asTraversable: ((GraphLike.this)#NodeT) ⇒ GenTraversableOnce[B]): Set[Set[B]]
- Definition Classes
- GenericTraversableTemplate
- Annotations
- @migration
- Migration
(Changed in version 2.9.0)
transpose
throws anIllegalArgumentException
if collections are not uniformly sized.
-
def
union(that: GenSet[(GraphLike.this)#NodeT]): Set[(GraphLike.this)#NodeT]
- Definition Classes
- SetLike → GenSetLike
-
def
unzip[A1, A2](implicit asPair: ((GraphLike.this)#NodeT) ⇒ (A1, A2)): (Set[A1], Set[A2])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3[A1, A2, A3](implicit asTriple: ((GraphLike.this)#NodeT) ⇒ (A1, A2, A3)): (Set[A1], Set[A2], Set[A3])
- Definition Classes
- GenericTraversableTemplate
-
def
update(elem: (GraphLike.this)#NodeT, included: Boolean): Unit
- Definition Classes
- SetLike
- val value: (GraphLike.this)#NodeSet
-
def
view(from: Int, until: Int): IterableView[(GraphLike.this)#NodeT, Set[(GraphLike.this)#NodeT]]
- Definition Classes
- IterableLike → TraversableLike
-
def
view: IterableView[(GraphLike.this)#NodeT, Set[(GraphLike.this)#NodeT]]
- Definition Classes
- IterableLike → TraversableLike
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withFilter(p: ((GraphLike.this)#NodeT) ⇒ Boolean): FilterMonadic[(GraphLike.this)#NodeT, Set[(GraphLike.this)#NodeT]]
- Definition Classes
- TraversableLike → FilterMonadic
-
def
withSetFilter(p: ((GraphLike.this)#NodeT) ⇒ Boolean): FilteredSet[(GraphLike.this)#NodeT]
Returns a lazily filtered immutable Set.
Returns a lazily filtered immutable Set.
- Definition Classes
- ExtSetMethods
-
def
zip[A1 >: (GraphLike.this)#NodeT, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Set[(GraphLike.this)#NodeT], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipAll[B, A1 >: (GraphLike.this)#NodeT, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Set[(GraphLike.this)#NodeT], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipWithIndex[A1 >: (GraphLike.this)#NodeT, That](implicit bf: CanBuildFrom[Set[(GraphLike.this)#NodeT], (A1, Int), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
|(that: GenSet[(GraphLike.this)#NodeT]): Set[(GraphLike.this)#NodeT]
- Definition Classes
- GenSetLike
-
def
~[N >: N1](n2: N): UnDiEdge[N]
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to EdgeAssoc[(GraphLike.this)#NodeSet] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
- Annotations
- @inline()
-
def
~>[N >: N1](n2: N): DiEdge[N]
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to EdgeAssoc[(GraphLike.this)#NodeSet] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
- Annotations
- @inline()
- def →[B](y: B): ((GraphLike.this)#NodeSet, B)
Shadowed Implicit Value Members
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to any2stringadd[(GraphLike.this)#NodeSet] 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:(nodeSet: any2stringadd[(GraphLike.this)#NodeSet]).+(other)
- Definition Classes
- any2stringadd
-
def
andThen[A](g: (Boolean) ⇒ A): (Param[(GraphLike.this)#NodeT, EI]) ⇒ A
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to (Param[(GraphLike.this)#NodeT, 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:(nodeSet: (Param[(GraphLike.this)#NodeT, EI]) ⇒ Boolean).andThen(g)
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(v1: Param[(GraphLike.this)#NodeT, EI]): Boolean
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to (Param[(GraphLike.this)#NodeT, 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:(nodeSet: (Param[(GraphLike.this)#NodeT, EI]) ⇒ Boolean).apply(v1)
- Definition Classes
- Function1
-
def
compose[A](g: (A) ⇒ Param[(GraphLike.this)#NodeT, EI]): (A) ⇒ Boolean
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to (Param[(GraphLike.this)#NodeT, 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:(nodeSet: (Param[(GraphLike.this)#NodeT, EI]) ⇒ Boolean).compose(g)
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
filter(p: ((GraphLike.this)#NodeT) ⇒ Boolean): TraversableOnce[(GraphLike.this)#NodeT]
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to MonadOps[(GraphLike.this)#NodeT] 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:(nodeSet: MonadOps[(GraphLike.this)#NodeT]).filter(p)
- Definition Classes
- MonadOps
-
def
flatMap[B](f: ((GraphLike.this)#NodeT) ⇒ GenTraversableOnce[B]): TraversableOnce[B]
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to MonadOps[(GraphLike.this)#NodeT] 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:(nodeSet: MonadOps[(GraphLike.this)#NodeT]).flatMap(f)
- Definition Classes
- MonadOps
-
def
flatten: Iterator[N]
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to FlattenOps[N] performed by method flattenTraversableOnce in scala.collection.TraversableOnce. This conversion will take place only if an implicit value of type (InnerNodeParam[N]) ⇒ TraversableOnce[N] is in scope.
- 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:(nodeSet: FlattenOps[N]).flatten
- Definition Classes
- FlattenOps
-
def
map[B](f: ((GraphLike.this)#NodeT) ⇒ B): TraversableOnce[B]
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to MonadOps[(GraphLike.this)#NodeT] 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:(nodeSet: MonadOps[(GraphLike.this)#NodeT]).map(f)
- Definition Classes
- MonadOps
-
def
stringPrefix: String
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to OuterNode[(GraphLike.this)#NodeSet] 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:(nodeSet: OuterNode[(GraphLike.this)#NodeSet]).stringPrefix
- Definition Classes
- NodeParam
-
def
toString(): String
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to OuterNode[(GraphLike.this)#NodeSet] 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:(nodeSet: OuterNode[(GraphLike.this)#NodeSet]).toString()
- Definition Classes
- NodeParam → AnyRef → Any
-
def
toString(): String
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to (Param[(GraphLike.this)#NodeT, 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:(nodeSet: (Param[(GraphLike.this)#NodeT, EI]) ⇒ Boolean).toString()
- Definition Classes
- Function1 → AnyRef → Any
-
def
withFilter(p: ((GraphLike.this)#NodeT) ⇒ Boolean): Iterator[(GraphLike.this)#NodeT]
- Implicit
- This member is added by an implicit conversion from (GraphLike.this)#NodeSet to MonadOps[(GraphLike.this)#NodeT] 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:(nodeSet: MonadOps[(GraphLike.this)#NodeT]).withFilter(p)
- Definition Classes
- MonadOps
Welcome to the Graph for Scala API reference. Some suggested navigation entry points:
Graph
mutable.Graph
and its inner nodes.GraphEdge
objectedge
packageGraphPredef
object andImplicits
object.GraphTraversal
andTraverserInnerNode
.RandomGraph
.GraphGen
.