scalation.database.graph
Members list
Type members
Classlikes
The Edge class maintains the edge's connections between vertices as well as its own properites. An edge is roughly analogous to implicit relationship manifest via foreign key-primary key pairs. The parameters may be thought of like a triple, e.g., (h, r, t) or (s, p, o).
The Edge class maintains the edge's connections between vertices as well as its own properites. An edge is roughly analogous to implicit relationship manifest via foreign key-primary key pairs. The parameters may be thought of like a triple, e.g., (h, r, t) or (s, p, o).
Value parameters
- _name
-
the name of this edge ('name' from
Identifiable), edge label - from
-
this edge's source/from vertex
- prop
-
maps edge's property names into property values
- shift
-
number of units to shift to accomodate a bundle of egdes in a composite edge
- to
-
this edge's target/to vertex
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Spatialtrait PartiallyOrdered[Spatial]trait Identifiableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
The EdgeType class collects edges of the same type, e.g., knows relationship type. An edge-type is analogous to a relation with foreign keys in an RDBMS.
The EdgeType class collects edges of the same type, e.g., knows relationship type. An edge-type is analogous to a relation with foreign keys in an RDBMS.
Value parameters
- _name
-
the name of this edge-type ('name' from
Identifiable) - color
-
the display color for edges of this type
- edges
-
the set of edges having this edge-type (extension)
- from
-
the source vertex
- schema
-
the property names for this edge-type
- shape
-
the display shape template for edges of this type
- to
-
the target vertex
Attributes
- Companion
- object
- Supertypes
The PGraph class is used to store property graphs.
The PGraph class is used to store property graphs.
Value parameters
- aniRatio
-
the ratio of simulation speed vs. animation speed
- animating
-
whether to animate the model (defaults to false)
- et
-
the set of edge-types
- height
-
the height of the drawing canvas
- name
-
the name of the property graph
- vt
-
the set of vertex-types
- width
-
the width of the drawing canvas
Attributes
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
The SocialNetwork onject provides a sample property-graph database.
The SocialNetwork onject provides a sample property-graph database.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SocialNetwork.type
The Topological trait provides topological coordinates that are topologically partially ordered.
The Topological trait provides topological coordinates that are topologically partially ordered.
Value parameters
- dist
-
its distance along the segment
- elem
-
the element in the graph (at a vertex or on an edge)
Attributes
- Supertypes
- Known subtypes
The Vertex class maintains properties for a vertex, e.g., a person. A vertex is analogous to a tuple in an RDBMS.
The Vertex class maintains properties for a vertex, e.g., a person. A vertex is analogous to a tuple in an RDBMS.
Value parameters
- _name
-
the name of this vertex ('name' from
Identifiable), serves as vertex label - _pos
-
the position (Euclidean coordinates) of this vertex ('pos' from `Spatial)
- prop
-
maps vertex's property names into property values
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Spatialtrait PartiallyOrdered[Vertex]trait Identifiableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
The VertexType class collects vertices of the same type, e.g., a person vertex-type. A vertex-type is analogous to a relation with no foreign keys in an RDBMS.
The VertexType class collects vertices of the same type, e.g., a person vertex-type. A vertex-type is analogous to a relation with no foreign keys in an RDBMS.
Value parameters
- _name
-
the name of this vertex-type ('name' form
Identifiable) - color
-
the display color for vertices of this type
- schema
-
the property names for this vertex-type
- shape
-
the display shape template for vertices of this type
- verts
-
the set of vertices having this vertex-type (extension)
Attributes
- Companion
- object
- Supertypes
The VertexType companion object provides factory functions for building vertex-types.
The VertexType companion object provides factory functions for building vertex-types.
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
VertexType.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
The edgeTest main function is used to test the Edge class.
The edgeTest main function is used to test the Edge class.
runMain scalation.database.graph.edgeTest
Attributes
The edgeTypeTest main function is used to test the EdgeType class.
The edgeTypeTest main function is used to test the EdgeType class.
runMain scalation.database.graph.edgeTypeTest
Attributes
The pGraphTest main function is used to test the PGraph class, by displaying the graph.
The pGraphTest main function is used to test the PGraph class, by displaying the graph.
runMain scalation.database.graph.pGraphTest
Attributes
The pGraphTest2 main function is used to test the PGraph class, by performing several queries.
The pGraphTest2 main function is used to test the PGraph class, by performing several queries.
runMain scalation.database.graph.pGraphTest2
Attributes
The vertexTest main function is used to test the Vertex class.
The vertexTest main function is used to test the Vertex class.
runMain scalation.database.graph.vertexTest
Attributes
The vertexTypeTest main function is used to test the VertexType class.
The vertexTypeTest main function is used to test the VertexType class.
runMain scalation.database.graph.vertexTypeTest