Package com.jgalgo

Enum CoreAlgo.DegreeType

    • Enum Constant Detail

      • OutDegree

        public static final CoreAlgo.DegreeType OutDegree
        Cores will be computed with respect to the out-degree of the vertices, namely the number of outgoing edges.
      • InDegree

        public static final CoreAlgo.DegreeType InDegree
        Cores will be computed with respect to the in-degree of the vertices, namely the number of incoming edges.
      • OutAndInDegree

        public static final CoreAlgo.DegreeType OutAndInDegree
        Cores will be computed with respect to the sum of the in and out degrees of the vertices.
    • Method Detail

      • values

        public static CoreAlgo.DegreeType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CoreAlgo.DegreeType c : CoreAlgo.DegreeType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CoreAlgo.DegreeType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null