org.rubato.rubettes.bigbang.model.operations
Class AddObjectsOperation
java.lang.Object
org.rubato.rubettes.bigbang.model.operations.AbstractOperation
org.rubato.rubettes.bigbang.model.operations.AddObjectsOperation
public class AddObjectsOperation
- extends AbstractOperation
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AddObjectsOperation
public AddObjectsOperation(BigBangModel model,
java.util.List<java.util.Map<DenotatorPath,java.lang.Double>> pathsWithValues,
java.util.List<DenotatorPath> powersetPaths)
AddObjectsOperation
public AddObjectsOperation(BigBangModel model,
java.util.List<java.util.Map<DenotatorPath,java.lang.Double>> pathsWithValues,
java.util.List<DenotatorPath> powersetPaths,
boolean inPreviewMode)
AddObjectsOperation
public AddObjectsOperation(BigBangModel model,
XMLReader reader,
org.w3c.dom.Element element)
getSplitOperations
public java.util.List<AbstractOperation> getSplitOperations(double ratio)
- Overrides:
getSplitOperations
in class AbstractOperation
- Parameters:
ratio
- a number between 0 and 1
- Returns:
- a list with two operations that represent this operation split at the given ratio.
null if not splittable
getObjectForm
public Form getObjectForm()
addObjects
public boolean addObjects(java.util.List<java.util.Map<DenotatorPath,java.lang.Double>> pathsWithValues,
java.util.List<DenotatorPath> powersetPaths,
boolean inPreviewMode)
unAddObjects
public void unAddObjects(java.util.Set<java.util.Map<DenotatorPath,java.lang.Double>> pathsWithValues)
execute
public OperationPathResults execute()
- Specified by:
execute
in class AbstractOperation
toXML
public void toXML(XMLWriter writer)
- Overrides:
toXML
in class AbstractOperation