|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.opencyc.elf.ELFObject | +--org.opencyc.elf.experience.Experience
Provides the Experience container for the Elementary Loop Functioning (ELF).
Copyright 2001 Cycorp, Inc., license is open source GNU LGPL.
THIS SOFTWARE AND KNOWLEDGE BASE CONTENT ARE PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OPENCYC ORGANIZATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE AND KNOWLEDGE BASE CONTENT, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Field Summary | |
protected State |
finalState
the final state of the experience |
protected Goal |
goal
the goal that was sought from the initial state |
protected State |
initialState
the intial state of the experience |
protected java.sql.Timestamp |
timestamp
when the experience occurred |
protected java.util.ArrayList |
transitions
the state transitions from the initial state to the final state |
protected Value |
value
the value of the experience |
Fields inherited from class org.opencyc.elf.ELFObject |
name |
Constructor Summary | |
Experience()
Constructs a new experience object. |
Method Summary | |
State |
getFinalState()
Gets the final state of the experience |
Goal |
getGoal()
Gets the goal that was sought from the initial state |
State |
getInitialState()
Gets the intial state of the experience |
java.sql.Timestamp |
getTimestamp()
Gets when the experience occurred |
java.util.ArrayList |
getTransitions()
Gets the state transitions |
Value |
getValue()
Gets the value of the experience |
void |
setFinalState(State finalState)
Sets the final state of the experience |
void |
setGoal(Goal goal)
Sets the goal that was sought from the initial state |
void |
setInitialState(State initialState)
Sets the intial state of the experience |
void |
setTimestamp(java.sql.Timestamp timestamp)
Sets when the experience occurred |
void |
setTransitions(java.util.ArrayList transitions)
Sets the state transitions |
void |
setValue(Value value)
Sets the value of the experience |
Methods inherited from class org.opencyc.elf.ELFObject |
getName, setName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.sql.Timestamp timestamp
protected State initialState
protected State finalState
protected Goal goal
protected java.util.ArrayList transitions
protected Value value
Constructor Detail |
public Experience()
Method Detail |
public java.sql.Timestamp getTimestamp()
public void setTimestamp(java.sql.Timestamp timestamp)
xxx
- when the experience occurredpublic State getInitialState()
public void setInitialState(State initialState)
initialState
- the intial state of the experiencepublic State getFinalState()
public void setFinalState(State finalState)
finalState
- the final state of the experiencepublic Goal getGoal()
public void setGoal(Goal goal)
goal
- the goal that was sought from the initial statepublic java.util.ArrayList getTransitions()
public void setTransitions(java.util.ArrayList transitions)
transitions
- the state transitionspublic Value getValue()
public void setValue(Value value)
xxx
- the value of the experience
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |