de.grogra.math
public abstract class VertexSetBase extends ContextDependentBase implements VertexSet
| Modifier and Type | Class and Description |
|---|---|
static class |
VertexSetBase.Type |
| Modifier and Type | Field and Description |
|---|---|
static VertexSetBase.Type |
$TYPE |
protected float[] |
data |
static SCOType.Field |
data$FIELD |
protected int |
dimension |
static SCOType.Field |
dimension$FIELD |
| Modifier | Constructor and Description |
|---|---|
protected |
VertexSetBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dependsOnContext()
Determines whether this object actually depends on context.
|
float[] |
getData() |
int |
getDimension() |
int |
getDimension(GraphState gs) |
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) |
writeStampaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteStampgetManageableTypepublic static final VertexSetBase.Type $TYPE
protected float[] data
public static final SCOType.Field data$FIELD
protected int dimension
public static final SCOType.Field dimension$FIELD
public boolean dependsOnContext()
ContextDependentdependsOnContext in interface ContextDependenttrue iff this object depends on contextpublic float[] getData()
public int getDimension()
public int getDimension(GraphState gs)
getDimension in interface VertexSetpublic int getVertex(float[] out,
int index,
GraphState gs)
protected int getVertexIndex(int index)
public boolean isRational(GraphState gs)
isRational in interface VertexSetpublic void setData(float[] value)
public void setDimension(int value)