com.phasmidsoftware.gryphon.core.SimpleVertex
A plain vertex carrying only an attribute and adjacencies. Replaces the old DiscoverableVertex now that the discovered flag has been removed.
Type parameters
- V
-
the type of the vertex attribute.
Value parameters
- adjacencies
-
the collection of adjacencies.
- attribute
-
the data associated with this vertex.
Attributes
- Graph
-
- Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Renders the vertex as a human-readable string.
Renders the vertex as a human-readable string.
Attributes
- Returns
-
a string representation of the vertex.
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
Constructs a new instance of this vertex type with the given adjacencies, preserving all other fields.
Constructs a new instance of this vertex type with the given adjacencies, preserving all other fields.
Value parameters
- adjacencies
-
the updated adjacency collection.
Attributes
- Returns
-
a new vertex of the same concrete type.
Adds an adjacency, delegating construction to unit.
Adds an adjacency, delegating construction to unit.
Attributes
- Inherited from:
-
AbstractVertex
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
-
Product
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an Iterator[Any]
- Inherited from:
-
Product