Enum Class Reducer

java.lang.Object
java.lang.Enum<Reducer>
org.impulsegraph.api.traversal.Reducer
All Implemented Interfaces:
Serializable, Comparable<Reducer>, Constable

public enum Reducer extends Enum<Reducer>
Monoidic reduction operators applied when multiple traversal paths converge on the same target node.
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Universal Match / Boolean Intersection (Bitwise AND).
    Arbitrary Witness selection (Masked Vector Scatter).
    Lexicographic Max-Witness (Vector Co-Scatter).
    Lexicographic Min-Witness (Vector Co-Scatter).
    Arithmetic mean reduction.
    Path Multiplicity / Vectorized histogram generation.
    Maximum value / highest score selection.
    Tropical / Min-Plus semiring reduction for shortest paths.
    Boolean reachability / set union (Bitwise OR).
    Standard arithmetic sum for PageRank, Markov walks, and edge weight accumulation.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Reducer
    Returns the enum constant of this class with the specified name.
    static Reducer[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • OR

      public static final Reducer OR
      Boolean reachability / set union (Bitwise OR).
    • AND

      public static final Reducer AND
      Universal Match / Boolean Intersection (Bitwise AND).
    • MIN

      public static final Reducer MIN
      Tropical / Min-Plus semiring reduction for shortest paths.
    • MAX

      public static final Reducer MAX
      Maximum value / highest score selection.
    • SUM

      public static final Reducer SUM
      Standard arithmetic sum for PageRank, Markov walks, and edge weight accumulation.
    • COUNT

      public static final Reducer COUNT
      Path Multiplicity / Vectorized histogram generation.
    • AVG

      public static final Reducer AVG
      Arithmetic mean reduction.
    • ANY

      public static final Reducer ANY
      Arbitrary Witness selection (Masked Vector Scatter). Short-circuits heavily.
    • ARGMIN

      public static final Reducer ARGMIN
      Lexicographic Min-Witness (Vector Co-Scatter). Requires a parameterized field.
    • ARGMAX

      public static final Reducer ARGMAX
      Lexicographic Max-Witness (Vector Co-Scatter). Requires a parameterized field.
  • Method Details

    • values

      public static Reducer[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Reducer valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null