Interface TrafficAssignmentComponentAccessee

    • Method Detail

      • getTrafficAssignmentComponent

        <T> T getTrafficAssignmentComponent​(Class<T> planitComponentClass)
        Collect the desired traffic assignment component by its class assuming it is available on the assignment. These are traffic assignment components that are created and registered upon the assignment, so not component inputs that are readily available upon creation, but components specific to the assignment itself. Derived assignments might also register additional components as well beyond the standard components registered here on the base class (gapfunction, smoothing, physical, virtual cost).
        Type Parameters:
        T - component type
        Parameters:
        planitComponentClass - to collect of type T
        Returns:
        component, null if not available