Interface NetworkModification

    • Method Detail

      • apply

        void apply​(Network network)
      • apply

        void apply​(Network network,
                   boolean throwException,
                   Reporter reporter)
        Applies the modification to the given network. If throwException is set to true, then in case of error, an exception will be thrown. Otherwise, computation will continue but the injection will not be added to the network in case of error.
      • apply

        void apply​(Network network,
                   boolean throwException,
                   ComputationManager computationManager,
                   Reporter reporter)
        Applies the modification to the given network. If throwException is set to true, then in case of error, an exception will be thrown. Otherwise, computation will continue but the injection will not be added to the network in case of error.