Uses of Interface
astra.term.Term
| Package | Description |
|---|---|
| astra.core | |
| astra.debugger | |
| astra.formula | |
| astra.messaging | |
| astra.reasoner | |
| astra.reasoner.node | |
| astra.reasoner.unifier | |
| astra.reasoner.util | |
| astra.statement | |
| astra.term | |
| astra.tr | |
| astra.type |
-
Uses of Term in astra.core
Methods in astra.core that return Term Modifier and Type Method Description TermIntention. getValue(Variable term)TermRuleExecutor. getValue(Variable term)TermActionParam. toLogic()Methods in astra.core that return types with arguments of type Term Modifier and Type Method Description Map<Integer,Term>Intention. bindings()Map<Integer,Term>RuleExecutor. bindings()Map<Integer,Term>StatementExecutor. bindings()static Map<Integer,Term>Helper. evaluateRule(Agent agent, Rule rule, Event event)Map<Integer,Term>RuleExecutor. getAllBindings()Map<Integer,Term>RuleExecutor. getUnboundBindings()List<Map<Integer,Term>>Agent. query(Formula formula, Map<Integer,Term> bindings)Map<Integer,Term>Intention. query(Formula formula)List<Map<Integer,Term>>Agent. queryAll(Formula formula)List<Map<Integer,Term>>Intention. queryAll(Formula formula)Methods in astra.core with parameters of type Term Modifier and Type Method Description voidFragment. addModule(String name, Class<?> cls, Term[] params, Agent agent)voidRuleExecutor. addVariable(Variable variable, Term term)<T> TIntention. evaluate(Term term)booleanIntention. updateVariable(Variable term, Term logic)Moves down through the ruleexecutor stack looking for a ruleexecutor that has the variable being updated...booleanRuleExecutor. updateVariable(Variable term, Term logic)booleanStatementExecutor. updateVariable(Variable term, Term logic)Method parameters in astra.core with type arguments of type Term Modifier and Type Method Description voidRuleExecutor. addBindings(Map<Integer,Term> bindings)voidRuleExecutor. addStatement(StatementHandler handler, Map<Integer,Term> bindings)voidIntention. addSubGoal(Event event, Rule rule, Map<Integer,Term> bindings, RuleExecutor parent)List<Map<Integer,Term>>Agent. query(Formula formula, Map<Integer,Term> bindings)voidRuleExecutor. updateRuleBindings(Map<Integer,Term> bindings)Constructor parameters in astra.core with type arguments of type Term Constructor Description Intention(Agent agent, Event event, Rule rule, Map<Integer,Term> bindings)RuleExecutor(Event event, Rule rule, Map<Integer,Term> bindings, RuleExecutor parent, Intention intention)StatementExecutor(StatementHandler handler, Map<Integer,Term> bindings) -
Uses of Term in astra.debugger
-
Uses of Term in astra.formula
Methods in astra.formula that return Term Modifier and Type Method Description TermAcreFormula. cid()TermIsNull. formula()TermPredicate. getTerm(int i)TermAcreFormula. index()TermComparison. left()TermAcreFormula. performative()TermComparison. right()TermBind. term()TermPredicate. termAt(int i)Term[]Predicate. terms()TermAcreFormula. type()Constructors in astra.formula with parameters of type Term Constructor Description AcreFormula(Term cid, Term index, Term type, Term performative, Formula content)Bind(Variable variable, Term term)Comparison(String operator, Term left, Term right)IsNull(Term term)Predicate(String predicate, Term[] terms) -
Uses of Term in astra.messaging
Fields in astra.messaging declared as Term Modifier and Type Field Description Term[]Utilities.PredicateState. termsMethods in astra.messaging that return Term Modifier and Type Method Description TermMessageEvent. params()TermMessageEvent. performative()TermMessageEvent. sender()Constructors in astra.messaging with parameters of type Term Constructor Description MessageEvent(Term performative, Term sender, Formula content)MessageEvent(Term performative, Term sender, Formula content, Term params) -
Uses of Term in astra.reasoner
Methods in astra.reasoner that return types with arguments of type Term Modifier and Type Method Description List<Map<Integer,Term>>NewReasoner. query(Formula formula)List<Map<Integer,Term>>NewReasoner. query(Formula formula, Map<Integer,Term> bindings)List<Map<Integer,Term>>Reasoner. query(Formula formula)List<Map<Integer,Term>>Reasoner. query(Formula formula, Map<Integer,Term> bindings)List<Map<Integer,Term>>NewReasoner. queryAll(Formula formula)List<Map<Integer,Term>>Reasoner. queryAll(Formula formula)Map<Integer,Term>EventUnifier. unify(T source, T target, Agent agent)Map<Integer,Term>FormulaUnifier. unify(Formula source, Formula target, Map<Integer,Term> bindings, Agent agent)static Map<Integer,Term>Unifier. unify(Event source, Event target, Agent agent)static Map<Integer,Term>Unifier. unify(Formula source, Formula target, Map<Integer,Term> bindings, Agent agent)static Map<Integer,Term>Unifier. unify(Goal source, Goal target, Agent agent)Generate variable bindings for two achievement goals or return null if there is no binding...static Map<Integer,Term>Unifier. unify(Predicate source, Predicate target, Agent agent)Generate variable bindings for two predicates or return null if there is no binding...static Map<Integer,Term>Unifier. unify(Term[] source, Term[] target, Map<Integer,Term> bindings, Agent agent)Methods in astra.reasoner with parameters of type Term Modifier and Type Method Description static Map<Integer,Term>Unifier. unify(Term[] source, Term[] target, Map<Integer,Term> bindings, Agent agent)Method parameters in astra.reasoner with type arguments of type Term Modifier and Type Method Description ReasonerNodeNewReasoner. createReasonerNode(ReasonerNode parent, Formula formula, Map<Integer,Term> bindings, boolean singleResult)List<Map<Integer,Term>>NewReasoner. query(Formula formula, Map<Integer,Term> bindings)List<Map<Integer,Term>>Reasoner. query(Formula formula, Map<Integer,Term> bindings)Map<Integer,Term>FormulaUnifier. unify(Formula source, Formula target, Map<Integer,Term> bindings, Agent agent)static Map<Integer,Term>Unifier. unify(Formula source, Formula target, Map<Integer,Term> bindings, Agent agent)static Map<Integer,Term>Unifier. unify(Term[] source, Term[] target, Map<Integer,Term> bindings, Agent agent) -
Uses of Term in astra.reasoner.node
Fields in astra.reasoner.node with type parameters of type Term Modifier and Type Field Description protected Map<Integer,Term>ReasonerNode. initialprotected List<Map<Integer,Term>>ReasonerNode. solutionsMethods in astra.reasoner.node that return types with arguments of type Term Modifier and Type Method Description List<Map<Integer,Term>>ReasonerNode. solutions()Method parameters in astra.reasoner.node with type arguments of type Term Modifier and Type Method Description ReasonerNodeANDReasonerNodeFactory. create(AND formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeANDReasonerNodeFactory. create(ReasonerNode parent, AND formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeBindReasonerNodeFactory. create(Bind formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeBindReasonerNodeFactory. create(ReasonerNode parent, Bind formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeBracketReasonerNodeFactory. create(BracketFormula formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeBracketReasonerNodeFactory. create(ReasonerNode parent, BracketFormula formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeComparisonReasonerNodeFactory. create(Comparison formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeComparisonReasonerNodeFactory. create(ReasonerNode parent, Comparison formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeIsDoneReasonerNodeFactory. create(IsDone formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeIsDoneReasonerNodeFactory. create(ReasonerNode parent, IsDone formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeModuleFormulaReasonerNodeFactory. create(ModuleFormula formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeModuleFormulaReasonerNodeFactory. create(ReasonerNode parent, ModuleFormula formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeNOTReasonerNodeFactory. create(NOT formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeNOTReasonerNodeFactory. create(ReasonerNode parent, NOT formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeORReasonerNodeFactory. create(OR formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeORReasonerNodeFactory. create(ReasonerNode parent, OR formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodePredicateReasonerNodeFactory. create(Predicate formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodePredicateReasonerNodeFactory. create(ReasonerNode parent, Predicate formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeReasonerNodeFactory. create(ReasonerNode node, T formula, Map<Integer,Term> bindings, boolean singleResult)ReasonerNodeReasonerNodeFactory. create(T formula, Map<Integer,Term> bindings, boolean singleResult)Constructor parameters in astra.reasoner.node with type arguments of type Term Constructor Description ANDReasonerNode(ReasonerNode parent, AND and, Map<Integer,Term> initial, boolean singleResult)BindReasonerNode(ReasonerNode parent, Bind bind, Map<Integer,Term> initial, boolean singleResult)BracketReasonerNode(ReasonerNode parent, BracketFormula formula, Map<Integer,Term> initial, boolean singleResult)ComparisonReasonerNode(ReasonerNode parent, Comparison comparison, Map<Integer,Term> initial, boolean singleResult)IsDoneReasonerNode(ReasonerNode parent, IsDone isDone, Map<Integer,Term> initial, boolean singleResult)ModuleFormulaReasonerNode(ReasonerNode parent, ModuleFormula formula, Map<Integer,Term> initial, boolean singleResult)NOTReasonerNode(ReasonerNode parent, NOT not, Map<Integer,Term> initial, boolean singleResult)ORReasonerNode(ReasonerNode parent, OR or, Map<Integer,Term> initial, boolean singleResult)PredicateReasonerNode(ReasonerNode parent, Predicate predicate, Map<Integer,Term> initial, boolean singleResult) -
Uses of Term in astra.reasoner.unifier
Methods in astra.reasoner.unifier that return types with arguments of type Term Modifier and Type Method Description Map<Integer,Term>AcreFormulaUnifier. unify(Formula source, Formula target, Map<Integer,Term> bindings, Agent agent)Map<Integer,Term>ANDUnifier. unify(Formula source, Formula target, Map<Integer,Term> bindings, Agent agent)Map<Integer,Term>BeliefEventUnifier. unify(BeliefEvent source, BeliefEvent target, Agent agent)Map<Integer,Term>FormulaVariableUnifier. unify(Formula source, Formula target, Map<Integer,Term> bindings, Agent agent)Map<Integer,Term>GoalEventUnifier. unify(GoalEvent source, GoalEvent target, Agent agent)Map<Integer,Term>MessageEventUnifier. unify(MessageEvent s, MessageEvent t, Agent agent)Map<Integer,Term>PredicateUnifier. unify(Formula source, Formula target, Map<Integer,Term> bindings, Agent agent)Method parameters in astra.reasoner.unifier with type arguments of type Term Modifier and Type Method Description Map<Integer,Term>AcreFormulaUnifier. unify(Formula source, Formula target, Map<Integer,Term> bindings, Agent agent)Map<Integer,Term>ANDUnifier. unify(Formula source, Formula target, Map<Integer,Term> bindings, Agent agent)Map<Integer,Term>FormulaVariableUnifier. unify(Formula source, Formula target, Map<Integer,Term> bindings, Agent agent)Map<Integer,Term>PredicateUnifier. unify(Formula source, Formula target, Map<Integer,Term> bindings, Agent agent) -
Uses of Term in astra.reasoner.util
Methods in astra.reasoner.util with type parameters of type Term Modifier and Type Method Description static <T extends Term>
voidAbstractEvaluateVisitor. addTermHandler(AbstractEvaluateVisitor.Handler<T> handler)static <T extends Term>
voidBindingsEvaluateVisitor. addTermHandler(BindingsEvaluateVisitor.Handler<T> handler)static <T extends Term>
voidContextEvaluateVisitor. addTermHandler(ContextEvaluateVisitor.Handler<T> handler)static <T extends Term>
voidRenameVisitor. addTermHandler(RenameVisitor.Handler<T> handler)static <T extends Term>
voidVariableVisitor. addTermHandler(VariableVisitor.Handler<T> handler)Methods in astra.reasoner.util that return types with arguments of type Term Modifier and Type Method Description Map<Integer,Term>RenameVisitor. bindings()static Map<Integer,Term>Utilities. filter(Map<Integer,Term> source, Set<Variable> variables)static Map<Integer,Term>Utilities. merge(Map<Integer,Term> mapA, Map<Integer,Term> mapB)static Map<Integer,Term>Utilities. mgu(Map<Integer,Term> source)Methods in astra.reasoner.util with parameters of type Term Modifier and Type Method Description <T> TBindingsEvaluateVisitor. evaluate(Term term)ObjectAbstractEvaluateVisitor. visit(Term term)ObjectBindingsEvaluateVisitor. visit(Term term)ObjectContextEvaluateVisitor. visit(Term term)ObjectLogicVisitor. visit(Term term)ObjectRenameVisitor. visit(Term term)ObjectVariableVisitor. visit(Term term)Method parameters in astra.reasoner.util with type arguments of type Term Modifier and Type Method Description static Map<Integer,Term>Utilities. filter(Map<Integer,Term> source, Set<Variable> variables)ObjectBindingsEvaluateVisitor.Handler. handle(LogicVisitor visitor, T object, Map<Integer,Term> bindings, Agent agent)ObjectRenameVisitor.Handler. handle(LogicVisitor visitor, T object, String modifier, Map<Integer,Term> bindings)static Map<Integer,Term>Utilities. merge(Map<Integer,Term> mapA, Map<Integer,Term> mapB)static Map<Integer,Term>Utilities. mgu(Map<Integer,Term> source)Constructor parameters in astra.reasoner.util with type arguments of type Term Constructor Description BindingsEvaluateVisitor(Map<Integer,Term> bindings, Agent agent) -
Uses of Term in astra.statement
Constructors in astra.statement with parameters of type Term Constructor Description Assignment(Variable variable, Term value)Assignment(Variable variable, String clazz, int[] data, Term value)Declaration(Variable variable, Term value)Declaration(Variable variable, String clazz, int[] data, Term value)ForAll(String clazz, int[] data, Variable variable, Term list, Statement body)MinusMinus(Variable variable, String clazz, int[] data, Term value)PlusPlus(Variable variable, String clazz, int[] data, Term value)Send(String clazz, int[] data, Term performative, Term name, Formula content)Send(String clazz, int[] data, Term performative, Term name, Formula content, Term params)Wait(String clazz, int[] data, Formula guard, Term timeout) -
Uses of Term in astra.term
Classes in astra.term that implement Term Modifier and Type Class Description classAtIndexclassBracketsclassCountclassFormulaTermclassFromJsonclassFunctclassHeadclassListSplitterclassListTermclassModuleTermclassNullTermclassOperatorclassPerformativeclassPrimitive<T>classQueryTermclassTailclassToJsonclassVariableFields in astra.term declared as Term Modifier and Type Field Description static Term[]Term. EMPTY_ARRAYstatic TermTerm. NULL_TERMMethods in astra.term that return Term Modifier and Type Method Description TermTerm. clone()TermListTerm. get(int i)TermFunct. getTerm(int i)TermListSplitter. head()TermAtIndex. index()TermOperator. left()TermListTerm. remove(int index)TermOperator. right()TermListTerm. set(int index, Term element)TermAtIndex. term()TermBrackets. term()TermCount. term()TermFromJson. term()TermHead. term()TermTail. term()TermToJson. term()TermFunct. termAt(int i)Term[]Funct. terms()Term[]ListTerm. terms()Term[]ListTerm. toArray()Methods in astra.term that return types with arguments of type Term Modifier and Type Method Description Iterator<Term>ListTerm. iterator()ListIterator<Term>ListTerm. listIterator()ListIterator<Term>ListTerm. listIterator(int index)Methods in astra.term with parameters of type Term Modifier and Type Method Description voidListTerm. add(int index, Term element)booleanListTerm. add(Term e)<T> TModuleTermAdaptor. evaluate(BindingsEvaluateVisitor visitor, Term term)booleanAtIndex. matches(Term right)booleanBrackets. matches(Term term)booleanCount. matches(Term right)booleanFormulaTerm. matches(Term term)booleanFromJson. matches(Term right)booleanFunct. matches(Term term)booleanHead. matches(Term right)booleanListSplitter. matches(Term term)booleanListTerm. matches(Term right)booleanModuleTerm. matches(Term right)booleanNullTerm. matches(Term right)booleanOperator. matches(Term term)booleanPerformative. matches(Term term)booleanPrimitive. matches(Term term)booleanQueryTerm. matches(Term term)booleanTail. matches(Term right)booleanTerm. matches(Term right)booleanToJson. matches(Term right)booleanVariable. matches(Term right)static OperatorOperator. newOperator(char op, Term left, Term right)voidFunct. set(int i, Term term)TermListTerm. set(int index, Term element)static Object[]LangUtils. toArray(Term[] terms)Method parameters in astra.term with type arguments of type Term Modifier and Type Method Description booleanListTerm. addAll(int index, Collection<? extends Term> c)booleanListTerm. addAll(Collection<? extends Term> c)Constructors in astra.term with parameters of type Term Constructor Description AtIndex(Term term, Term index, Type type)Brackets(Term term)Count(Term term)FromJson(Term term, String type)Funct(String predicate, Term[] terms)Head(Term term, Type type)ListSplitter(Term head, Variable tail)ListTerm(Term[] terms)Operator(char op, Type type, Term left, Term right)Tail(Term term)ToJson(Term term) -
Uses of Term in astra.tr
-
Uses of Term in astra.type
Fields in astra.type declared as Term Modifier and Type Field Description static TermType. NO_VALUEMethods in astra.type that return Term Modifier and Type Method Description static TermType. defaultValue(Type type)Methods in astra.type with parameters of type Term Modifier and Type Method Description static doubleType. doubleValue(Term term)static floatType. floatValue(Term term)static intType. integerValue(Term term)static booleanType. isNumeric(Term il)static longType. longValue(Term term)static StringType. stringValue(Term term)