public class Transformation
extends java.lang.Object
Constructor and Description |
---|
Transformation(int[] transformation,
de.linearbits.jhpl.Lattice<java.lang.Integer,java.lang.Integer> lattice,
SolutionSpace solutionSpace)
Instantiates a new transformation.
|
Transformation(int[] transformationJHPL,
long identifier,
de.linearbits.jhpl.Lattice<java.lang.Integer,java.lang.Integer> lattice,
SolutionSpace solutionSpace)
Instantiates a new transformation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getData()
Returns associated data
|
int[] |
getGeneralization()
Returns the generalization
|
long |
getIdentifier()
Returns the id
|
InformationLoss<?> |
getInformationLoss()
Returns the information loss
|
int |
getLevel()
Return level
|
InformationLoss<?> |
getLowerBound()
Returns the lower bound on information loss
|
cern.colt.list.LongArrayList |
getPredecessors()
Returns all predeccessors of the transformation with the given identifier
|
cern.colt.list.LongArrayList |
getSuccessors()
Returns all successors
|
boolean |
hasProperty(de.linearbits.jhpl.PredictiveProperty property)
Returns whether this transformation has a given property
|
void |
setChecked(NodeChecker.Result result)
Sets the properties to the given node.
|
void |
setData(java.lang.Object object)
Sets a data
|
void |
setInformationLoss(InformationLoss<?> informationLoss)
Sets the information loss
|
void |
setLowerBound(InformationLoss<?> lowerBound)
Sets the lower bound
|
void |
setProperty(de.linearbits.jhpl.PredictiveProperty property)
Sets a property
|
void |
setPropertyToNeighbours(de.linearbits.jhpl.PredictiveProperty property)
Sets the property to all neighbors
|
java.lang.String |
toString()
Returns a string representation
|
public Transformation(int[] transformation, de.linearbits.jhpl.Lattice<java.lang.Integer,java.lang.Integer> lattice, SolutionSpace solutionSpace)
transformation
- In ARX spacelattice
- solutionSpace
- public Transformation(int[] transformationJHPL, long identifier, de.linearbits.jhpl.Lattice<java.lang.Integer,java.lang.Integer> lattice, SolutionSpace solutionSpace)
transformationJHPL
- identifier
- lattice2
- solutionSpace2
- public java.lang.Object getData()
public int[] getGeneralization()
public long getIdentifier()
public InformationLoss<?> getInformationLoss()
public int getLevel()
public InformationLoss<?> getLowerBound()
public cern.colt.list.LongArrayList getPredecessors()
transformation
- public cern.colt.list.LongArrayList getSuccessors()
public boolean hasProperty(de.linearbits.jhpl.PredictiveProperty property)
property
- public void setChecked(NodeChecker.Result result)
node
- the noderesult
- the resultpublic void setData(java.lang.Object object)
object
- public void setInformationLoss(InformationLoss<?> informationLoss)
informationLoss
- public void setLowerBound(InformationLoss<?> lowerBound)
lowerBound
- public void setProperty(de.linearbits.jhpl.PredictiveProperty property)
property
- public void setPropertyToNeighbours(de.linearbits.jhpl.PredictiveProperty property)
property
- public java.lang.String toString()
toString
in class java.lang.Object