Class Life

java.lang.Object
velo.ladaalpha.fields.life.Life

public class Life extends Object
The Class Life.
  • Field Details

    • patterns

      public Behavior[] patterns
      The patterns.
  • Constructor Details

    • Life

      public Life(String subject, Behavior[] patterns)
      Instantiates a new life.
      Parameters:
      subject - the subject
      patterns - the patterns
  • Method Details

    • graph

      public void graph()
      Graph.
    • getFunctionSet

      public String getFunctionSet()
      Gets the function set.
      Returns:
      the function set
    • getCompositeFunction

      public String getCompositeFunction()
      Gets the composite function.
      Returns:
      the composite function
    • getEquationVector

      public Equation[] getEquationVector()
      Gets the equation vector.
      Returns:
      the equation vector
    • getClosestEvent

      public Event getClosestEvent(double day, double hour)
      Gets the closest event.
      Parameters:
      day - the day
      hour - the hour
      Returns:
      the closest event
    • generateReport

      public LifeReport generateReport(double baseDay, double prospectiveRange, double retrospectiveRange)
      Generate report.
      Parameters:
      baseDay - the base day
      prospectiveRange - the prospective range
      retrospectiveRange - the retrospective range
      Returns:
      the life report
    • computeSlopeVector

      public ArrayList<Double> computeSlopeVector(double x)
      Compute slope vector.
      Parameters:
      x - the x
      Returns:
      the array list
    • getSubject

      public String getSubject()
      Gets the subject.
      Returns:
      the subject
    • setSubject

      public void setSubject(String subject)
      Sets the subject.
      Parameters:
      subject - the subject to set
    • getPatterns

      public Behavior[] getPatterns()
      Gets the patterns.
      Returns:
      the patterns
    • setPatterns

      public void setPatterns(Behavior[] patterns)
      Sets the patterns.
      Parameters:
      patterns - the patterns to set