| Package | Description |
|---|---|
| edu.washington.cs.knowitall.logic |
| Modifier and Type | Class and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Expression.Arg<E> |
ArgFactory.apply(String string)
Method to satisfy abstract superclass.
|
abstract Expression.Arg<E> |
ArgFactory.create(String string)
Converts the supplied string into a token.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> LogicExpression<E> |
LogicExpression.compile(String input,
com.google.common.base.Function<String,Expression.Arg<E>> factory) |
List<Expression<E>> |
LogicExpression.tokenize(String input,
com.google.common.base.Function<String,Expression.Arg<E>> factory)
Convert an infix string logic representation to an infix list of tokens.
|
| Constructor and Description |
|---|
LogicExpression(String input,
com.google.common.base.Function<String,Expression.Arg<E>> factory) |
Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.