java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.math.VertexSetBase
- All Implemented Interfaces:
ContextDependent
,VertexSet
,Manageable
,Shareable
- Direct Known Subclasses:
VertexGridImpl
,VertexListImpl
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VertexSetBase.Type
protected float[]
static final SCOType.Field
protected int
static final SCOType.Field
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines whether this object actually depends on context.float[]
getData()
int
int
int
getVertex
(float[] out, int index, GraphState gs) protected int
getVertexIndex
(int index) boolean
isRational
(GraphState gs) void
setData
(float[] value) void
setDimension
(int value) Methods inherited from class de.grogra.graph.impl.ContextDependentBase
writeStamp
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.grogra.graph.ContextDependent
writeStamp
Methods inherited from interface de.grogra.persistence.Manageable
getManageableType
-
Field Details
-
data
protected float[] data -
dimension
protected int dimension -
$TYPE
-
data$FIELD
-
dimension$FIELD
-
-
Constructor Details
-
VertexSetBase
protected VertexSetBase()
-
-
Method Details
-
getDimension
public int getDimension() -
setDimension
public void setDimension(int value) -
getData
public float[] getData() -
setData
public void setData(float[] value) -
dependsOnContext
public boolean dependsOnContext()Description copied from interface:ContextDependent
Determines whether this object actually depends on context.- Specified by:
dependsOnContext
in interfaceContextDependent
- Returns:
true
iff this object depends on context
-
getVertex
-
getVertexIndex
protected int getVertexIndex(int index) -
getDimension
- Specified by:
getDimension
in interfaceVertexSet
-
isRational
- Specified by:
isRational
in interfaceVertexSet
-