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 class
Expression.Apply<E>
An expression that can be applied.static class
Expression.Arg<E>
An expression that evaluates to true or false.static class
Expression.Arg.Pred<E>
An expression that evaluates to true or false by applying a predicate to the supplied entity.static class
Expression.Arg.Value<E>
An expression that is a constant value--either true or false.static class
Expression.Op<E>
An operator expression.static class
Expression.Op.Bin<E>
An operator that takes two arguments, such as disjunction.static class
Expression.Op.Bin.And<E>
The conjunction (logical and) operator.static class
Expression.Op.Bin.Or<E>
The disjunction (logical or) operator.static class
Expression.Op.Mon<E>
An operator that takes a single argument, such as negation.static class
Expression.Op.Mon.Not<E>
The negation operator.static class
Expression.Paren<E>
A parenthesis, used for grouping.static class
Expression.Paren.L<E>
A left parenthesis.static class
Expression.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)
-