infosapient.system
Class FzyUnconditionalRule

java.lang.Object
  |
  +--infosapient.system.ObservableImpl
        |
        +--infosapient.system.FzySystemComponent
              |
              +--infosapient.system.FzyRule
                    |
                    +--infosapient.system.FzyUnconditionalRule

public class FzyUnconditionalRule
extends FzyRule

Class FzyUnconditionalRule implements the behavior of an UNCONDITIONAL rule. An unconditional rule is a rule that has no conditions to be met; it is always fired.

Examples of Unconditional Rules:
  • Our Profits should be high.
  • Our Price should be high.
  • Our Price should be low.
  • Our Price should be 2 * ManufacturingCosts.
  • Our Price should be near CompetitionPrice.
  • Unconditional rules are extremely useful in resolving contradictory evidence or rules.

    Version:
    $Revision: 1.1.1.1 $
    See Also:
    Serialized Form

    Field Summary
    (package private) static long serialVersionUID
               
     
    Fields inherited from class infosapient.system.FzyRule
    hasFired, myConsequent, myPremise, name, ruleText, serialVersionUID, theKB
     
    Fields inherited from class infosapient.system.FzySystemComponent
    DEBUG_, myID, name, pcs, serialVersionUID, trace, vcs
     
    Fields inherited from class infosapient.system.ObservableImpl
    arr, changed, obs, serialVersionUID
     
    Constructor Summary
    FzyUnconditionalRule()
               
    FzyUnconditionalRule(FzyKnowledgebase kb)
               
     
    Method Summary
     FzyRule addConsequent(FzyConsequent fc)
               
     
    Methods inherited from class infosapient.system.FzyRule
    addPremise, getConsequent, getKB, getPremise, getPremiseAttributes, getText, hasFired, printOn, reset, setFired, setKB, setText, toString, toText, toXML, update
     
    Methods inherited from class infosapient.system.FzySystemComponent
    addPropertyChangeListener, addVetoableChangeListener, equals, getID, getName, getPropertyChangeSupport, getVetoableChangeSupport, hashCode, removePropertyChangeListener, removeVetoableChangeListener, setID, setName
     
    Methods inherited from class infosapient.system.ObservableImpl
    addObserver, clearChanged, containsObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
     
    Methods inherited from class java.lang.Object
    , clone, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
     

    Field Detail

    serialVersionUID

    static final long serialVersionUID
    Constructor Detail

    FzyUnconditionalRule

    public FzyUnconditionalRule()

    FzyUnconditionalRule

    public FzyUnconditionalRule(FzyKnowledgebase kb)
    Method Detail

    addConsequent

    public FzyRule addConsequent(FzyConsequent fc)
    Overrides:
    addConsequent in class FzyRule

    License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

    Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved