nars.entity
Class Question

java.lang.Object
  extended by nars.entity.Sentence
      extended by nars.entity.Question
All Implemented Interfaces:
java.lang.Cloneable

public class Question
extends Sentence

A Question is a sentence without a truth value, and may conain query variables


Field Summary
 
Fields inherited from class nars.entity.Sentence
bestSolution, content, input, punctuation, stamp, temporalOrder, truth
 
Constructor Summary
Question(Goal g)
          Construct a Judgment to indicate an operation just executed
Question(Term term, char punc, Stamp s)
          COnstructor
 
Method Summary
 
Methods inherited from class nars.entity.Sentence
clone, cloneContent, getBestSolution, getContent, getCreationTime, getEventTime, getStamp, getTense, getTruth, isInput, isJudgment, make, make, noOverlapping, setBestSolution, setContent, setInput, tenseToString, toKey, toString, toString2
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Question

public Question(Term term,
                char punc,
                Stamp s)
COnstructor

Parameters:
term - The content
punc - The punctuation
s - The stamp

Question

public Question(Goal g)
Construct a Judgment to indicate an operation just executed

Parameters:
g - The goal that trigger the execution