Package org.jamesii.core.model.variables

Examples of org.jamesii.core.model.variables.LongTrajectory


  public double calcObjective(Configuration configuration,
      Map<String, BaseVariable<?>> response) {

    LongTrajectoryVariable trajectoryVar =
        (LongTrajectoryVariable) response.get(paramName);
    LongTrajectory trajectory = trajectoryVar.getValue();

    long[] data = trajectory.getData(); // new length - old length
    double[] times = trajectory.getTimes();

    // objective
    int leastSquares = 0;
    for (int i = 0; i < Math.min(data.length, realData.length); i++) {
View Full Code Here

TOP

Related Classes of org.jamesii.core.model.variables.LongTrajectory

Copyright © 2018 www.massapicom. 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.