Package com.jgalgo

Interface TopologicalOrderAlgo.Builder

    • Method Detail

      • build

        TopologicalOrderAlgo build()
        Create a new algorithm object for topological order computation.
        Returns:
        a new topological order algorithm
      • setOption

        default BuilderType setOption​(String key,
                                      Object value)
        [TL;DR Don't call me!] Set an option.

        The builder might support different options to customize its implementation. These options never change the behavior of the algorithm, only its internal implementation. The possible options are not exposed as 'public' because they are not part of the API and may change in the future.

        These options are mainly for debug and benchmark purposes.

        Parameters:
        key - the option key
        value - the option value
        Returns:
        this builder