Vertex

scalation.database.graph.Vertex
See theVertex companion class
object Vertex

The Vertex companion object provides a factory function for creating vertices.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Vertex.type

Members list

Value members

Concrete methods

def apply(prop: Property, pos: VectorD): Vertex

Create an object of type Vertex.

Create an object of type Vertex.

Value parameters

pos

the position (Euclidean coordinates) of this vertex

prop

maps vertex's property names into property values

Attributes

def prt(v: ValueType, w: Int): Unit

PRINT value-type v with a width of w.

PRINT value-type v with a width of w.

Value parameters

v

the value to be printed

w

the width (# chars) for the column

Attributes

def show(vertices: ArrayBuffer[Vertex]): Unit

Show the vertices.

Show the vertices.

Value parameters

vertices

the vertices to show

Attributes