org.rubato.rubettes.bigbang.model
Class BigBangObjects
java.lang.Object
org.rubato.rubettes.bigbang.model.BigBangObjects
public class BigBangObjects
- extends java.lang.Object
Method Summary |
boolean |
arePlayedBackInTime()
|
boolean |
baseFormAllowsForSatellites()
|
boolean |
baseFormContainsColimits()
|
void |
clearObjects()
|
java.util.List<java.util.List<DenotatorPath>> |
getAllObjectConfigurationsValuePathsAt(int coordinateSystemValueIndex)
|
java.util.TreeSet<BigBangObject> |
getAllObjects()
|
Form |
getBaseForm()
|
BigBangObject |
getClosestObject(int[] coordinateSystemValueIndices,
double[] values,
DenotatorPath examplePowersetPath)
|
java.util.List<java.lang.String> |
getCoordinateSystemValueNames()
|
int |
getInstanceNumberOfCoordinateValueName(int coordinateSystemValueIndex)
|
java.lang.Integer |
getMaxSatelliteLevel(int objectIndex)
|
java.util.List<java.lang.Double> |
getMaxValues()
|
java.util.List<java.lang.Double> |
getMinValues()
|
int |
getNumberOfColimits(int objectIndex)
|
int |
getNumberOfNonAnalyticalCoordinateSystemValues()
|
BigBangObject |
getObject(DenotatorPath path)
|
int |
getObjectFirstValueIndex(SimpleForm form,
int objectIndex,
java.util.List<java.lang.Integer> colimitCoordinates)
|
java.util.Set<BigBangObject> |
getObjectsAt(AbstractOperation operation)
|
DenotatorObjectConfiguration |
getObjectType(Form objectForm,
DenotatorPath longestColimitPath)
|
DenotatorObject |
getObjectType(int objectIndex)
|
java.util.List<Form> |
getObjectTypes()
|
int |
getObjectValueIndex(int coordinateSystemValueIndex,
int objectIndex,
java.util.List<java.lang.Integer> colimitCoordinates)
|
DenotatorObjectConfiguration |
getStandardObjectType(Form objectForm)
|
void |
removeOperation(AbstractOperation operation)
|
void |
resetMaxSatelliteLevels()
|
void |
setController(BigBangController controller)
|
void |
setMinMaxValues(java.util.List<java.lang.Double> minValues,
java.util.List<java.lang.Double> maxValues)
|
void |
updateMaxSatelliteLevels(BigBangObject object)
|
void |
updatePaths(AbstractOperation previousOperation,
AbstractOperation operation,
OperationPathResults pathResults)
Updates the paths of all objects that existed at previousOperation and were changed according to the given
changedPaths. |
void |
updateValues()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BigBangObjects
public BigBangObjects(Form baseForm)
setController
public void setController(BigBangController controller)
clearObjects
public void clearObjects()
getMaxSatelliteLevel
public java.lang.Integer getMaxSatelliteLevel(int objectIndex)
getCoordinateSystemValueNames
public java.util.List<java.lang.String> getCoordinateSystemValueNames()
getNumberOfNonAnalyticalCoordinateSystemValues
public int getNumberOfNonAnalyticalCoordinateSystemValues()
arePlayedBackInTime
public boolean arePlayedBackInTime()
- Returns:
- true in case these objects contain any time-critical denotators
setMinMaxValues
public void setMinMaxValues(java.util.List<java.lang.Double> minValues,
java.util.List<java.lang.Double> maxValues)
getMinValues
public java.util.List<java.lang.Double> getMinValues()
getMaxValues
public java.util.List<java.lang.Double> getMaxValues()
updateValues
public void updateValues()
getBaseForm
public Form getBaseForm()
baseFormAllowsForSatellites
public boolean baseFormAllowsForSatellites()
baseFormContainsColimits
public boolean baseFormContainsColimits()
getNumberOfColimits
public int getNumberOfColimits(int objectIndex)
updateMaxSatelliteLevels
public void updateMaxSatelliteLevels(BigBangObject object)
resetMaxSatelliteLevels
public void resetMaxSatelliteLevels()
getAllObjects
public java.util.TreeSet<BigBangObject> getAllObjects()
getObjectsAt
public java.util.Set<BigBangObject> getObjectsAt(AbstractOperation operation)
getObject
public BigBangObject getObject(DenotatorPath path)
removeOperation
public void removeOperation(AbstractOperation operation)
updatePaths
public void updatePaths(AbstractOperation previousOperation,
AbstractOperation operation,
OperationPathResults pathResults)
- Updates the paths of all objects that existed at previousOperation and were changed according to the given
changedPaths. Sets the new paths at the given operation.
getInstanceNumberOfCoordinateValueName
public int getInstanceNumberOfCoordinateValueName(int coordinateSystemValueIndex)
- Returns:
- the number of the instance of the valueName of the value at the given index (number of previous
instances + the instance itself. 1 if it is the first)
getObjectType
public DenotatorObjectConfiguration getObjectType(Form objectForm,
DenotatorPath longestColimitPath)
getStandardObjectType
public DenotatorObjectConfiguration getStandardObjectType(Form objectForm)
getAllObjectConfigurationsValuePathsAt
public java.util.List<java.util.List<DenotatorPath>> getAllObjectConfigurationsValuePathsAt(int coordinateSystemValueIndex)
getClosestObject
public BigBangObject getClosestObject(int[] coordinateSystemValueIndices,
double[] values,
DenotatorPath examplePowersetPath)
- Returns:
- the path of the closest powerset at the given coordinateSystemValueIndex, if it is closer to the given
examplePowersetPath, or the closest object as such if examplePowersetPath is null.
getObjectTypes
public java.util.List<Form> getObjectTypes()
getObjectType
public DenotatorObject getObjectType(int objectIndex)
getObjectValueIndex
public int getObjectValueIndex(int coordinateSystemValueIndex,
int objectIndex,
java.util.List<java.lang.Integer> colimitCoordinates)
getObjectFirstValueIndex
public int getObjectFirstValueIndex(SimpleForm form,
int objectIndex,
java.util.List<java.lang.Integer> colimitCoordinates)