public class ARXResult
extends java.lang.Object
Constructor and Description |
---|
ARXResult(DataHandle handle,
DataDefinition definition,
ARXLattice lattice,
int historySize,
double snapshotSizeSnapshot,
double snapshotSizeDataset,
Metric<?> metric,
ARXConfiguration config,
ARXLattice.ARXNode optimum,
long time)
Internal constructor for deserialization.
|
Modifier and Type | Method and Description |
---|---|
ARXConfiguration |
getConfiguration()
Returns the configuration used.
|
ARXLattice.ARXNode |
getGlobalOptimum()
Gets the global optimum.
|
DataHandle |
getHandle()
Deprecated.
|
DataHandle |
getHandle(ARXLattice.ARXNode node)
Deprecated.
|
ARXLattice |
getLattice()
Returns the lattice.
|
DataHandle |
getOutput()
Returns a handle to the data obtained by applying the optimal transformation.
|
DataHandle |
getOutput(ARXLattice.ARXNode node)
Returns a handle to data obtained by applying the given transformation.
|
DataHandle |
getOutput(ARXLattice.ARXNode node,
boolean fork)
Returns a handle to data obtained by applying the given transformation.
|
DataHandle |
getOutput(boolean fork)
Returns a handle to the data obtained by applying the optimal transformation.
|
long |
getTime()
Returns the execution time (wall clock).
|
boolean |
isResultAvailable()
Indicates if a result is available.
|
public ARXResult(DataHandle handle, DataDefinition definition, ARXLattice lattice, int historySize, double snapshotSizeSnapshot, double snapshotSizeDataset, Metric<?> metric, ARXConfiguration config, ARXLattice.ARXNode optimum, long time)
handle
- definition
- lattice
- historySize
- snapshotSizeSnapshot
- snapshotSizeDataset
- metric
- config
- optimum
- time
- public ARXConfiguration getConfiguration()
public ARXLattice.ARXNode getGlobalOptimum()
@Deprecated public DataHandle getHandle()
@Deprecated public DataHandle getHandle(ARXLattice.ARXNode node)
node
- the transformationpublic ARXLattice getLattice()
public DataHandle getOutput()
public DataHandle getOutput(ARXLattice.ARXNode node)
node
- the transformationpublic DataHandle getOutput(ARXLattice.ARXNode node, boolean fork)
node
- the transformationfork
- Set this flag to false, only if you know exactly what you are doing.public DataHandle getOutput(boolean fork)
fork
- Set this flag to false, only if you know exactly what you are doing.public long getTime()
public boolean isResultAvailable()