Package javaff.data

Examples of javaff.data.TimeStampedPlan.addAction()


            if (a instanceof StartInstantAction)
            {
                DurativeAction da = ((StartInstantAction)a).parent;
                BigDecimal time = TheArray[Timepoints.indexOf(a)][0].negate().setScale(SCALE,ROUND);
        BigDecimal dur = TheArray[Timepoints.indexOf(da.endAction)][0].negate().subtract(time).setScale(SCALE,ROUND);
                plan.addAction(da, time, dur);
            }
      else if (a instanceof STRIPSInstantAction && a != START)
      {
        BigDecimal time = TheArray[Timepoints.indexOf(a)][0].negate().setScale(SCALE,ROUND);
        plan.addAction(a, time);
View Full Code Here


                plan.addAction(da, time, dur);
            }
      else if (a instanceof STRIPSInstantAction && a != START)
      {
        BigDecimal time = TheArray[Timepoints.indexOf(a)][0].negate().setScale(SCALE,ROUND);
        plan.addAction(a, time);
      }
        }
        return plan;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.