Interface ApplyToNodeModelResult

    • Method Detail

      • acceptNonBlockingLinkBasedResult

        void acceptNonBlockingLinkBasedResult​(DirectedVertex node,
                                              double[] linkSegmentSendingFlow)
        A centroid node is a special node where all flow is always accepted (destination incoming links), or sending flows do not come from turns but from origin zone (origin exit links). As such we present only the original link segment sending flows
        Parameters:
        node - to use
        linkSegmentSendingFlow - to use. Note that these are the network wide sending flows by link segment id, not localised for the node
      • acceptTurnBasedResult

        void acceptTurnBasedResult​(DirectedVertex node,
                                   org.ojalgo.array.Array1D<Double> flowAcceptanceFactors,
                                   NodeModel nodeModel)
        Result of a node model update
        Parameters:
        node - to use
        flowAcceptanceFactors - resulting from the update, localised for the node based on its entry segment iterator order
        nodeModel - that was applied