LatticeSequence

case
class LatticeSequence[A, VertexSet](vertices: VertexSet, edges: Map[Vertex, Vertex], values: Map[Vertex, A])(implicit vertexSet: SetLike[Vertex, VertexSet])
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addRight(position: Vertex, a: A): LatticeSequence[A, VertexSet]
def addRight(left: Vertex, insertee: Vertex, value: A): LatticeSequence[A, VertexSet]

This method allows insertions of any type into the RGA. This is used to move the start and end nodes

This method allows insertions of any type into the RGA. This is used to move the start and end nodes

Value Params
insertee

the vertex to be inserted right to position

left

the vertex specifying the position

Returns

A new RAG containing the inserted element

def append(value: A): LatticeSequence[A, VertexSet]
def before(u: Vertex, v: Vertex): Boolean
def contains(v: Vertex): Boolean
def iterator: Iterator[A]
def prepend(value: A): LatticeSequence[A, VertexSet]
def toList: List[A]
def vertexIterator: Iterator[Vertex]

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Implicits

Implicits

implicit
val vertexSet: SetLike[Vertex, VertexSet]