Interface VirtualCost

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String FIXED
      short hand for configuring fixed virtual cost instance
      static String SPEED
      short hand for configuring speed based virtual cost instance
    • Field Detail

      • FIXED

        static final String FIXED
        short hand for configuring fixed virtual cost instance
      • SPEED

        static final String SPEED
        short hand for configuring speed based virtual cost instance
    • Method Detail

      • populateWithCost

        void populateWithCost​(Mode mode,
                              double[] costToFill)
                       throws PlanItException
        Invoker expects (mode specific ) costs in passed in array to be filled, where each entry signifies a link segment by its id
        Parameters:
        mode - the mode these costs pertain to
        costToFill - array of link segment costs identified by the link segment's internal id
        Throws:
        PlanItException - thrown if error