State

scalax.collection.State$
object State

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
State.type

Members list

Type members

Classlikes

class GraphDump(val inUse: ExtBitSet, val dirty: ExtBitSet)

Represents state flags of a graph for dump purposes.

Represents state flags of a graph for dump purposes.

Attributes

Supertypes
class Object
trait Matchable
class Any
class Handle(val index: Int, val mask: FlagWord)

state accessor with respect to a given traversal.

state accessor with respect to a given traversal.

Attributes

Supertypes
class Object
trait Matchable
class Any

Types

type FlagWord = Long

Word of flags, that is unit of bitwise boolean state information. These flags are mainly used to store whether a node counts as visited with respect to a given traversal where each traversal is represented by a Handle.

Word of flags, that is unit of bitwise boolean state information. These flags are mainly used to store whether a node counts as visited with respect to a given traversal where each traversal is represented by a Handle.

Attributes

type FlagWords = ExtBitSet

Growable collection for storing bitwise boolean state information as an extension of FlagsWord.

Growable collection for storing bitwise boolean state information as an extension of FlagsWord.

Attributes

Value members

Concrete methods

def dump[N, E <: Edge[N]](node: NodeT): ExtBitSet

Dumps the state flags of a node.

Dumps the state flags of a node.

Attributes

def dump[N, E <: Edge[N]](graph: AnyGraph[N, E]): GraphDump

Dumps the state flags of a graph.

Dumps the state flags of a graph.

Attributes

def initFlagSet: ExtBitSet

Concrete fields