Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

luna
Class LunaRootGraph  view LunaRootGraph download LunaRootGraph.java

java.lang.Object
  extended bycoltginy.ColtRootGraph
      extended byluna.LunaRootGraph
All Implemented Interfaces:
giny.model.RootGraph

public class LunaRootGraph
extends coltginy.ColtRootGraph


Nested Class Summary
 
Nested classes inherited from class coltginy.ColtRootGraph
 
Field Summary
protected  OpenIntObjectHashMap edgeIndexObjectMap
          The Edges that are created, though they need not be are stored so has to allow modification of edge values and to ensure edge persistance, this may be later changed.
protected  OpenIntObjectHashMap nodeIndexObjectMap
          The Nodes that are created, though they need not be are stored so has to allow modification of node values and to ensure node persistance, this may be later changed.
 
Fields inherited from class coltginy.ColtRootGraph
availableEdgeDataIndices, availableNodeDataIndices, coltEdgeData, coltEdgeDataTop, coltNodeData, coltNodeDataTop, coltRootGraphChangeEvent, coltRootGraphInitialized, edgeCount, edgeDataIndices, nodeCount, nodeDataIndices, NOT_INITIALIZED_EXCEPTION_STRING, pcs
 
Constructor Summary
LunaRootGraph()
          Default constructor delegates to the int, int constructor with the default values ColtginyConstants.DEFAULT_NODE_CAPACITY and ColtginyConstants.DEFAULT_EDGE_CAPACITY.
LunaRootGraph(int node_capacity, int edge_capacity)
          int, int constructor calls ColtRootGraph.initializeColtRootGraph( int, int )>ColtRootGraph.initializeColtRootGraph( int, int ) 55 .
 
Method Summary
protected  giny.model.Edge createEdge(int edge_index)
          This implementation of the giny model will defer creation of Edge objects as long as possible.
protected  giny.model.Node createNode(int node_index)
          This implementation of the giny model will defer creation of Node objects as long as possible.
 
Methods inherited from class coltginy.ColtRootGraph
addEdgeMetaChild, addMetaChild, addMetaChild, addNodeMetaChild, addRootGraphChangeListener, containsEdge, containsNode, createChangeEvent, createColtEdgeData, createColtEdgeDataPerspective, createColtNodeData, createColtNodeDataPerspective, createEdge, createEdge, createEdge, createEdge, createEdges, createGraphPerspective, createGraphPerspective, createNode, createNode, createNode, createNode, createNodes, edgeExists, edgeExists, edgeMetaChildrenList, edgeMetaChildrenList, edgeMetaParentsList, edgesIterator, edgesList, edgesList, edgesList, fireRootGraphChanged, getChangeEvent, getDegree, getDegree, getEdge, getEdgeCount, getEdgeCount, getEdgeCount, getEdgeIndicesArray, getEdgeIndicesArray, getEdgeMetaChildIndicesArray, getEdgeMetaParentIndicesArray, getEdgeSourceIndex, getEdgeTargetIndex, getInDegree, getInDegree, getInDegree, getInDegree, getIndex, getIndex, getNode, getNodeCount, getNodeIndicesArray, getNodeMetaChildIndicesArray, getNodeMetaParentIndicesArray, getOutDegree, getOutDegree, getOutDegree, getOutDegree, growForNewEdges, growForNewNodes, initializeColtRootGraph, isEdgeDirected, isEdgeMetaChild, isEdgeMetaParent, isMetaChild, isMetaChild, isMetaParent, isMetaParent, isNeighbor, isNeighbor, isNodeMetaChild, isNodeMetaParent, metaParentsList, metaParentsList, neighborsList, nodeMetaChildrenList, nodeMetaChildrenList, nodeMetaParentsList, nodesIterator, nodesList, removeAllIncidentEdges, removeAllIncidentEdges, removeEdge, removeEdge, removeEdges, removeEdges, removeEdges, removeNode, removeNode, removeNodes, removeNodes, removeRootGraphChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeIndexObjectMap

protected OpenIntObjectHashMap nodeIndexObjectMap
The Nodes that are created, though they need not be are stored so has to allow modification of node values and to ensure node persistance, this may be later changed.


edgeIndexObjectMap

protected OpenIntObjectHashMap edgeIndexObjectMap
The Edges that are created, though they need not be are stored so has to allow modification of edge values and to ensure edge persistance, this may be later changed.

Constructor Detail

LunaRootGraph

public LunaRootGraph()
Default constructor delegates to the int, int constructor with the default values ColtginyConstants.DEFAULT_NODE_CAPACITY and ColtginyConstants.DEFAULT_EDGE_CAPACITY.


LunaRootGraph

public LunaRootGraph(int node_capacity,
                     int edge_capacity)
int, int constructor calls ColtRootGraph.initializeColtRootGraph( int, int )>ColtRootGraph.initializeColtRootGraph( int, int ) 55 .

Method Detail

createNode

protected giny.model.Node createNode(int node_index)
This implementation of the giny model will defer creation of Node objects as long as possible. This method creates the object corresponding to the given valid node index. Subsequent changes to this object must be reflected when this RootGraph is queried about the node or its index, and subsequent changes to the Node made via this RootGraph, including changes made using only its index, will be reflected when querying the returned Node. To accomplish this it is recommended that the returned Node be a SimpleColtNode or a subclass thereof, but this is not required.


createEdge

protected giny.model.Edge createEdge(int edge_index)
This implementation of the giny model will defer creation of Edge objects as long as possible. This method creates the object corresponding to the given valid edge index. Subsequent changes to this object must be reflected when this RootGraph is queried about the edge or its index, and subsequent changes to the Edge made via this RootGraph, including changes made using only its index, will be reflected when querying the returned Edge. To accomplish this it is recommended that the returned Edge be a SimpleColtEdge or a subclass thereof, but this is not required.