Package velo.ladaalpha.fields.life
Class Event
java.lang.Object
velo.ladaalpha.fields.life.Event
The Class Event.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondoubleclosestOccurance(double x) Closest occurance.doubleforward(double x) Forward.doubleGets the day freq.getEq()Gets the eq.getName()Gets the name.doublegetShift()Gets the shift.doublegetSigma()Gets the sigma.booleanChecks if is exclusion.voidsetDay_freq(double day_freq) Sets the day freq.voidSets the eq.voidSets the name.voidsetShift(double shift) Sets the shift.voidsetSigma(double sigma) Sets the sigma.toString()To string. 
- 
Constructor Details
- 
Event
Instantiates a new event.- Parameters:
 name- the namefrequencyInDays- the frequency in dayshourOfOccurance- the hour of occurance
 
 - 
 - 
Method Details
- 
isExclusion
public boolean isExclusion()Checks if is exclusion.- Returns:
 - true, if is exclusion
 
 - 
getShift
public double getShift()Gets the shift.- Returns:
 - the shift
 
 - 
setShift
public void setShift(double shift) Sets the shift.- Parameters:
 shift- the shift to set
 - 
toString
To string. - 
getName
Gets the name.- Returns:
 - the name
 
 - 
setName
Sets the name.- Parameters:
 name- the name to set
 - 
getEq
Gets the eq.- Returns:
 - the eq
 
 - 
setEq
Sets the eq.- Parameters:
 eq- the eq to set
 - 
forward
public double forward(double x) Forward.- Parameters:
 x- the x- Returns:
 - the double
 
 - 
closestOccurance
public double closestOccurance(double x) Closest occurance.- Parameters:
 x- the x- Returns:
 - the double
 
 - 
getDay_freq
public double getDay_freq()Gets the day freq.- Returns:
 - the day_freq
 
 - 
setDay_freq
public void setDay_freq(double day_freq) Sets the day freq.- Parameters:
 day_freq- the day_freq to set
 - 
getSigma
public double getSigma()Gets the sigma.- Returns:
 - the sigma
 
 - 
setSigma
public void setSigma(double sigma) Sets the sigma.- Parameters:
 sigma- the sigma to set
 
 -