public interface Dimensional
Modifier and Type | Method and Description |
---|---|
void |
addDimension(Dimension dimension)
Add new dimensions to an instance of
Dimensional . |
void |
addDimension(java.lang.Long dimension)
Add new fixed dimensions to an instance of
Dimensional . |
void |
addDimension(java.lang.String dimension)
Add new formula dimensions to an instance of dimension.
|
Dimensional |
deepClone()
Deep clone a
Dimensional |
void |
fix(java.util.Map<java.lang.String,java.lang.Object> mappedValues)
Fix all the dimension by calculating them using the mapped values
|
Dimension |
get(int i)
Get the i-th dimension
|
java.util.List<Dimension> |
getDimensions()
Get all the dimensions of an instance
|
int |
getDimensionSize()
Return the number of total dimensions
|
boolean |
isFixed()
Check if all the dimensions are fixed
|
java.util.List<java.lang.Long[]> |
predictPossibleValue(Membrane membrane,
java.util.List<Dimension> dList)
Predict the possible values in this membrane
|
void addDimension(Dimension dimension)
Dimensional
. For example, a[i+1]
have a dimension i+1
and i+1
should be added to a
.dimension
- dimensionsvoid addDimension(java.lang.Long dimension)
Dimensional
. For example,
a[1] have a dimension 1
and 1
should be added to a
.dimension
- dimensionsvoid addDimension(java.lang.String dimension)
i+1
and i+1
should be added to a
.dimension
- dimensionsjava.util.List<Dimension> getDimensions()
void fix(java.util.Map<java.lang.String,java.lang.Object> mappedValues)
mappedValues
- mapped valuesboolean isFixed()
true
if all the dimensions are fixed, and if
getDimensionSize()==0
return true
, else return
false
int getDimensionSize()
Dimension get(int i)
i
- index of dimension wantedDimensional deepClone()
Dimensional
java.util.List<java.lang.Long[]> predictPossibleValue(Membrane membrane, java.util.List<Dimension> dList)
membrane
- targetMembranedList
- the list of dimensions which want to be predicted their value