Package org.qmul.eecs.c4dm.sia.model
Class SiaVector
- java.lang.Object
-
- org.qmul.eecs.c4dm.sia.model.NDimensionalObject
-
- org.qmul.eecs.c4dm.sia.model.SiaVector
-
- Direct Known Subclasses:
- Datapoint
public class SiaVector extends NDimensionalObject
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
PROPERTY_URI
static java.lang.String
RESOURCE_URI
-
Constructor Summary
Constructors Constructor and Description SiaVector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
getOrderedIndex()
Resource
getResource()
void
setOrderedIndex(int orderedIndex)
void
setResource(Resource resource)
NDimensionalObject
subtract(Datapoint d)
-
Methods inherited from class org.qmul.eecs.c4dm.sia.model.NDimensionalObject
compareTo, getDimensionValue, getDimensionValues, setDimensionValues
-
-
-
-
Field Detail
-
PROPERTY_URI
public static final java.lang.String PROPERTY_URI
-
RESOURCE_URI
public static final java.lang.String RESOURCE_URI
-
-
Method Detail
-
getResource
public Resource getResource()
- Returns:
- the resource
-
setResource
public void setResource(Resource resource)
- Parameters:
resource
- the node to set
-
getOrderedIndex
public int getOrderedIndex()
- Returns:
- the orderedIndex
-
setOrderedIndex
public void setOrderedIndex(int orderedIndex)
- Parameters:
orderedIndex
- the orderedIndex to set
-
subtract
public NDimensionalObject subtract(Datapoint d)
- Parameters:
d
-- Returns:
-
-