package ic.app.se.simple.data;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by hjh on 15-10-18.
 */
public class EstimatedState {

    private List<Double> ae;

    private List<Double> ve;

    private List<Double> x;

    private List<Double> res;

    public EstimatedState(int NOB,int NOM,double initV,double initA){

        ae=new ArrayList<Double>();

        ve=new ArrayList<Double>();

        x=new ArrayList<Double>();

        res=new ArrayList<Double>();

        for (int i = 0; i < NOB; i++) {

            ae.add(initA);

            ve.add(initV);

            x.add(0.0);

        }

        for (int i = 0; i < NOM; i++) {

            res.add(0.0);

        }

    }

}

@@ -705,10 +705,69 @@
 %0A    %7D%0A%0A
+    public List%3CDouble%3E getAe() %7B%0A        return ae;%0A    %7D%0A
 %7D%0A

add v0