Class StateFlag


  • public class StateFlag
    extends java.lang.Object
    A set of constants used to record state information in the backchaining rule interpreter.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static StateFlag ACTIVE
      Indicates that the goal remains active
      static StateFlag FAIL
      Indicates a goal has failed and return no more answers at this time
      static StateFlag SATISFIED
      Indicates a fully satisfied goal
      static StateFlag SUSPEND
      Indicates that all currently available results have been returned and the goal should be suspended into new subgoal results have been generated
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      Print string
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • FAIL

        public static final StateFlag FAIL
        Indicates a goal has failed and return no more answers at this time
      • SUSPEND

        public static final StateFlag SUSPEND
        Indicates that all currently available results have been returned and the goal should be suspended into new subgoal results have been generated
      • ACTIVE

        public static final StateFlag ACTIVE
        Indicates that the goal remains active
      • SATISFIED

        public static final StateFlag SATISFIED
        Indicates a fully satisfied goal
    • Method Detail

      • toString

        public java.lang.String toString()
        Print string
        Overrides:
        toString in class java.lang.Object