class RandomGraph[TLabel] extends AnyRef
The 'RandomGraph' class is used to generate the random graphs of type 'MuGraph' and also the create statement for creating graph in Neo4j
- Alphabetic
- By Inheritance
- RandomGraph
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
RandomGraph(nVertices: Int, nLabels: Int, nEdges: Int, nELabels: Int = 2, maxElabelPerEdge: Int = 2, schemaType: Array[String] = Array ("Person", "Movie"), stream: Int = 0)(implicit arg0: ClassTag[TLabel])
- nVertices
number of vertices to be created
- nLabels
number of different labels for vertices
- nEdges
number of edges
- nELabels
number of edge labels
- maxElabelPerEdge
maximum number edge labels per edge
- schemaType
type of the vertices
- stream
the stream of words to be generated
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
assignElabels(elabs: Set[String]): Map[Pair, Set[String]]
Assign the labels to edges.
Assign the labels to edges.
- elabs
the set of edge labels to be used for edges
-
def
assignSchema: Array[String]
Assign the type (schema) to all the vertices.
-
def
assignVLabels(vlabs: VectoS): Array[String]
Assigns the vertex labels to the vertices.
Assigns the vertex labels to the vertices.
- vlabs
the vector of labels to be assigned for vertices
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
createNeo: String
Generate the 'CREATE' statement to be used for creating the data graph in Neo4j.
- val eLabels: Set[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
gen: (MuGraphAlgebra[String], String)
Generate the random graph of type 'MuGraph' and the 'create' statement for creating the graph in Neo4j.
-
def
genElabels: Set[String]
Generate the labels for edges.
-
def
genVLabels: VectoS
Generate the labels for vertices.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val le: Map[Pair, Set[String]]
- val lv: Array[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
pickELabels(elabs: Set[String]): Set[String]
Pick the labels to be assigned for the edges.
Pick the labels to be assigned for the edges.
- elabs
the set of edge labels to be used for edges
- val schema: Array[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated