java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.blocks.arrangeBlock.ShareableAdditionalArrangeBase
de.grogra.blocks.arrangeBlock.Voronoi_Lloyd
- All Implemented Interfaces:
AdditionalArrangeMethod
,Manageable
,Shareable
public class Voronoi_Lloyd
extends ShareableAdditionalArrangeBase
implements AdditionalArrangeMethod
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Voronoi_Lloyd.Type
static final SCOType.Field
static final SCOType.Field
Fields inherited from class de.grogra.blocks.arrangeBlock.ShareableAdditionalArrangeBase
densityField, MAX_NUMBER, maxF, maxX, maxY, pointList, prozent, superNumber
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
fieldModified
(PersistenceField field, int[] indices, Transaction t) int
int
void
setAnzIterationen
(int value) void
setNumber
(int value) Methods inherited from class de.grogra.blocks.arrangeBlock.ShareableAdditionalArrangeBase
checkDensityField, setAll
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.grogra.blocks.arrangeBlock.AdditionalArrangeMethod
setAll
-
Field Details
-
$TYPE
-
number$FIELD
-
anzIterationen$FIELD
-
-
Constructor Details
-
Voronoi_Lloyd
public Voronoi_Lloyd()
-
-
Method Details
-
calculate
public void calculate()- Specified by:
calculate
in classShareableAdditionalArrangeBase
-
fieldModified
- Specified by:
fieldModified
in interfaceManageable
- Overrides:
fieldModified
in classShareableBase
-
getManageableType
- Specified by:
getManageableType
in interfaceManageable
-
getNumber
public int getNumber() -
setNumber
public void setNumber(int value) - Overrides:
setNumber
in classShareableAdditionalArrangeBase
-
getAnzIterationen
public int getAnzIterationen() -
setAnzIterationen
public void setAnzIterationen(int value)
-