public OntolinguaNamedSentence(string name, KifSentence sentence)
 {
     if (StringUtils.isEmpty(name))
     {
         throw new ArgumentException("name cann't be null or empty");
     }
     if (sentence == null)
     {
         throw new ArgumentNullException("sentence cann't be null");
     }
     _name     = name;
     _sentence = sentence;
 }
예제 #2
0
 public KifNegation(KifSentence sentence)
 {
     _sentence = sentence;
 }
예제 #3
0
 public KifExistentiallyQuantifiedSentence(KifSequence <KifVariableSpecification> varspec, KifSentence sentence)
     : base(varspec, sentence)
 {
 }
 protected KifQuantifiedSentence(KifSequence <KifVariableSpecification> varspec, KifSentence sentence)
 {
     _varspec  = varspec;
     _sentence = sentence;
 }
예제 #5
0
 public KifReverseImplication(KifSentence consequent, KifSequence <KifSentence> antecedents) : base(consequent, antecedents)
 {
 }
예제 #6
0
 public KifReverseImplication(KifSentence consequent)
     : base(consequent)
 {
 }
예제 #7
0
 public KifImplication(KifSentence consequent, KifSequence <KifSentence> antecedents)
 {
     _antecedents = antecedents;
     _consequent  = consequent;
 }
예제 #8
0
 public KifImplication(KifSentence consequent)
 {
     _consequent = consequent;
 }
예제 #9
0
 public KifEquivalence(KifSentence leftSentence, KifSentence rightSentence)
 {
     _leftSentence  = leftSentence;
     _rightSentence = rightSentence;
 }