Package oms3.dsl.cosu

Class ObjFunc

  • All Implemented Interfaces:
    Buildable

    public class ObjFunc
    extends Object
    implements Buildable
    Objective function handling.
    Author:
    od
    • Constructor Detail

      • ObjFunc

        public ObjFunc()
    • Method Detail

      • getSimulated

        public CSVColumn getSimulated()
      • getObserved

        public CSVColumn getObserved()
      • create

        public Buildable create​(Object name,
                                Object value)
        Description copied from interface: Buildable
        Create a node.
        Specified by:
        create in interface Buildable
        Parameters:
        name - the node name
        value - the value
        Returns:
        a new Subnode
      • setMethod

        public void setMethod​(String method)
      • setTimestep

        public void setTimestep​(String timestep)
      • setWeight

        public void setWeight​(double weight)
      • isInc

        public static boolean isInc​(List<ObjFunc> ofs)
      • adjustWeights

        public static void adjustWeights​(List<ObjFunc> ofs)
      • calculateObjectiveFunctionValue

        public static double calculateObjectiveFunctionValue​(List<ObjFunc> ofs,
                                                             Date start,
                                                             Date end,
                                                             File folder)