de.grogra.blocks.arrangeBlock
Class PascalProbability

java.lang.Object
  extended by de.grogra.persistence.ShareableBase
      extended by de.grogra.blocks.arrangeBlock.ShareableProbabilityArrangeBase
          extended by de.grogra.blocks.arrangeBlock.PascalProbability
All Implemented Interfaces:
ProbabilityArrangeMethod, Manageable, Shareable

public class PascalProbability
extends ShareableProbabilityArrangeBase
implements ProbabilityArrangeMethod


Nested Class Summary
static class PascalProbability.Type
           
 
Field Summary
static PascalProbability.Type $TYPE
           
static SCOType.Field prob$FIELD
           
static SCOType.Field successes$FIELD
           
 
Fields inherited from class de.grogra.blocks.arrangeBlock.ShareableProbabilityArrangeBase
probabilityValues, source
 
Constructor Summary
PascalProbability()
           
 
Method Summary
 void calculate()
           
 ManageableType getManageableType()
           
 float getProb()
           
 int getSuccesses()
           
 void setProb(float value)
           
 void setSuccesses(int value)
           
 
Methods inherited from class de.grogra.blocks.arrangeBlock.ShareableProbabilityArrangeBase
getProbabilityValues
 
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, 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.ProbabilityArrangeMethod
getProbabilityValues
 

Field Detail

$TYPE

public static final PascalProbability.Type $TYPE

prob$FIELD

public static final SCOType.Field prob$FIELD

successes$FIELD

public static final SCOType.Field successes$FIELD
Constructor Detail

PascalProbability

public PascalProbability()
Method Detail

calculate

public void calculate()
Specified by:
calculate in class ShareableProbabilityArrangeBase

getManageableType

public ManageableType getManageableType()
Specified by:
getManageableType in interface Manageable

getProb

public float getProb()

getSuccesses

public int getSuccesses()

setProb

public void setProb(float value)

setSuccesses

public void setSuccesses(int value)