Klasse SolutionSpaceLong
java.lang.Object
org.deidentifier.arx.framework.lattice.SolutionSpace<Long>
org.deidentifier.arx.framework.lattice.SolutionSpaceLong
A class representing the solution space
-
Feldübersicht
Von Klasse geerbte Felder org.deidentifier.arx.framework.lattice.SolutionSpace
data, lattice, lowerBound, utility -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungSolutionSpaceLong(int[] minLevels, int[] maxLevels) Delegate constructorSolutionSpaceLong(ARXLattice lattice, ARXConfiguration config) Delegate constructor -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the bottom transformationprotected ObjectReturns dataprotected InformationLoss<?> getInformationLoss(Long identifier) Returns the information lossprotected InformationLoss<?> getLowerBound(Long identifier) Returns the lower boundReturns all materialized transformationsgetSize()Returns the overall number of transformations in the solution spacegetTop()Returns the top-transformationgetTransformation(int[] transformation) Returns a wrapper object with access to all properties about the transformationgetTransformation(Object _identifier) Returns the transformation with the given identifiergetUtility(Object _identifier) Returns the utility of the transformation with the given identifierbooleanhasProperty(int[] transformation, de.linearbits.jhpl.PredictiveProperty property) Returns whether a node has a given propertyprotected voidSets dataprotected voidsetInformationLoss(int[] node, InformationLoss<?> loss) Sets the information lossprotected voidsetInformationLoss(Long identifier, InformationLoss<?> loss) Sets the information lossprotected voidsetLowerBound(Long identifier, InformationLoss<?> loss) Sets the lower boundReturns all transformations in the solution spaceunsafeGetLevel(int level) Returns *all* nodes on the given level.Von Klasse geerbte Methoden org.deidentifier.arx.framework.lattice.SolutionSpace
create, create, fromJHPL, fromJHPL, getLevel, getPropertyAnonymous, getPropertyChecked, getPropertyExpanded, getPropertyForceSnapshot, getPropertyInsufficientUtility, getPropertyKAnonymous, getPropertyNotAnonymous, getPropertyNotKAnonymous, getPropertySuccessorsPruned, getPropertyVisited, isDirectParentChild, isParentChildOrEqual, reverse, setAnonymityPropertyPredictable, setMonotonicity, toJHPL, toJHPL
-
Konstruktordetails
-
SolutionSpaceLong
Delegate constructor- Parameter:
lattice-config-
-
SolutionSpaceLong
public SolutionSpaceLong(int[] minLevels, int[] maxLevels) Delegate constructor- Parameter:
minLevels-maxLevels-
-
-
Methodendetails
-
getBottom
Returns the bottom transformation- Angegeben von:
getBottomin KlasseSolutionSpace<Long>- Gibt zurück:
-
getMaterializedTransformations
Returns all materialized transformations- Angegeben von:
getMaterializedTransformationsin KlasseSolutionSpace<Long>- Gibt zurück:
-
getSize
Returns the overall number of transformations in the solution space- Angegeben von:
getSizein KlasseSolutionSpace<Long>- Gibt zurück:
-
getTop
Returns the top-transformation- Angegeben von:
getTopin KlasseSolutionSpace<Long>- Gibt zurück:
-
getTransformation
Returns a wrapper object with access to all properties about the transformation- Angegeben von:
getTransformationin KlasseSolutionSpace<Long>- Parameter:
transformation-- Gibt zurück:
-
getTransformation
Returns the transformation with the given identifier- Angegeben von:
getTransformationin KlasseSolutionSpace<Long>- Parameter:
_identifier-- Gibt zurück:
-
getUtility
Returns the utility of the transformation with the given identifier- Angegeben von:
getUtilityin KlasseSolutionSpace<Long>- Parameter:
identifier-- Gibt zurück:
-
hasProperty
public boolean hasProperty(int[] transformation, de.linearbits.jhpl.PredictiveProperty property) Returns whether a node has a given property- Angegeben von:
hasPropertyin KlasseSolutionSpace<Long>- Parameter:
transformation-property-- Gibt zurück:
-
unsafeGetAllTransformations
Returns all transformations in the solution space- Angegeben von:
unsafeGetAllTransformationsin KlasseSolutionSpace<Long>- Gibt zurück:
-
unsafeGetLevel
Returns *all* nodes on the given level. This is an unsafe operation that only performs well for "small" spaces.- Angegeben von:
unsafeGetLevelin KlasseSolutionSpace<Long>- Parameter:
level-- Gibt zurück:
-
getData
Returns data- Angegeben von:
getDatain KlasseSolutionSpace<Long>- Parameter:
id-- Gibt zurück:
-
getInformationLoss
Returns the information loss- Angegeben von:
getInformationLossin KlasseSolutionSpace<Long>- Parameter:
identifier-- Gibt zurück:
-
getLowerBound
Returns the lower bound- Angegeben von:
getLowerBoundin KlasseSolutionSpace<Long>- Parameter:
identifier-- Gibt zurück:
-
setData
Sets data- Angegeben von:
setDatain KlasseSolutionSpace<Long>- Parameter:
id-object-
-
setInformationLoss
Sets the information loss- Angegeben von:
setInformationLossin KlasseSolutionSpace<Long>- Parameter:
node-loss-
-
setInformationLoss
Sets the information loss- Angegeben von:
setInformationLossin KlasseSolutionSpace<Long>- Parameter:
identifier-loss-
-
setLowerBound
Sets the lower bound- Angegeben von:
setLowerBoundin KlasseSolutionSpace<Long>- Parameter:
identifier-loss-
-