Package velo.ladaalpha.fields.life
Class Life
java.lang.Object
velo.ladaalpha.fields.life.Life
The Class Life.
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncomputeSlopeVector(double x) Compute slope vector.generateReport(double baseDay, double prospectiveRange, double retrospectiveRange) Generate report.getClosestEvent(double day, double hour) Gets the closest event.Gets the composite function.Equation[]Gets the equation vector.Gets the function set.Behavior[]Gets the patterns.Gets the subject.voidgraph()Graph.voidsetPatterns(Behavior[] patterns) Sets the patterns.voidsetSubject(String subject) Sets the subject. 
- 
Field Details
- 
patterns
The patterns. 
 - 
 - 
Constructor Details
- 
Life
Instantiates a new life.- Parameters:
 subject- the subjectpatterns- the patterns
 
 - 
 - 
Method Details
- 
graph
public void graph()Graph. - 
getFunctionSet
Gets the function set.- Returns:
 - the function set
 
 - 
getCompositeFunction
Gets the composite function.- Returns:
 - the composite function
 
 - 
getEquationVector
Gets the equation vector.- Returns:
 - the equation vector
 
 - 
getClosestEvent
Gets the closest event.- Parameters:
 day- the dayhour- the hour- Returns:
 - the closest event
 
 - 
generateReport
public LifeReport generateReport(double baseDay, double prospectiveRange, double retrospectiveRange) Generate report.- Parameters:
 baseDay- the base dayprospectiveRange- the prospective rangeretrospectiveRange- the retrospective range- Returns:
 - the life report
 
 - 
computeSlopeVector
Compute slope vector.- Parameters:
 x- the x- Returns:
 - the array list
 
 - 
getSubject
Gets the subject.- Returns:
 - the subject
 
 - 
setSubject
Sets the subject.- Parameters:
 subject- the subject to set
 - 
getPatterns
Gets the patterns.- Returns:
 - the patterns
 
 - 
setPatterns
Sets the patterns.- Parameters:
 patterns- the patterns to set
 
 -