Uses of Class
edu.washington.cs.knowitall.logic.Expression
-
Packages that use Expression Package Description edu.washington.cs.knowitall.logic -
-
Uses of Expression in edu.washington.cs.knowitall.logic
Subclasses of Expression in edu.washington.cs.knowitall.logic Modifier and Type Class Description static classExpression.Apply<E>An expression that can be applied.static classExpression.Arg<E>An expression that evaluates to true or false.static classExpression.Arg.Pred<E>An expression that evaluates to true or false by applying a predicate to the supplied entity.static classExpression.Arg.Value<E>An expression that is a constant value--either true or false.static classExpression.Op<E>An operator expression.static classExpression.Op.Bin<E>An operator that takes two arguments, such as disjunction.static classExpression.Op.Bin.And<E>The conjunction (logical and) operator.static classExpression.Op.Bin.Or<E>The disjunction (logical or) operator.static classExpression.Op.Mon<E>An operator that takes a single argument, such as negation.static classExpression.Op.Mon.Not<E>The negation operator.static classExpression.Paren<E>A parenthesis, used for grouping.static classExpression.Paren.L<E>A left parenthesis.static classExpression.Paren.R<E>A right parenthesis.Methods in edu.washington.cs.knowitall.logic that return types with arguments of type Expression Modifier and Type Method Description java.util.List<Expression<E>>LogicExpression. rpn(java.util.List<Expression<E>> tokens)Converts an infix logic representation into a postfix logic representation.java.util.List<Expression<E>>LogicExpressionParser. tokenize(java.lang.String input)Convert an infix string logic representation to an infix list of tokens.Method parameters in edu.washington.cs.knowitall.logic with type arguments of type Expression Modifier and Type Method Description static <E> Expression.Apply<E>LogicExpression. buildAst(java.util.List<Expression<E>> rpn)Compile a rpn list of tokens into an expression tree.static <E> LogicExpression<E>LogicExpression. compile(java.util.List<Expression<E>> expressions)Compile an infix list of tokens into an expression tree.java.util.List<Expression<E>>LogicExpression. rpn(java.util.List<Expression<E>> tokens)Converts an infix logic representation into a postfix logic representation.Constructor parameters in edu.washington.cs.knowitall.logic with type arguments of type Expression Constructor Description LogicExpression(java.util.List<Expression<E>> expressions)
-