public interface BindingHelper
Title: Binding Helper
Description: Binding helper interface.
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends AtomVariable> |
getBindableVars(Collection<AtomVariable> bound)
Returns a set of variables which this binding helper can bind.
|
Collection<? extends AtomVariable> |
getPrerequisiteVars(Collection<AtomVariable> bound)
Returns a set of variables which must be bound before this helper can generate bindings.
|
void |
rebind(VariableBinding newBinding)
Set the incoming binding for this helper.
|
boolean |
selectNextBinding()
Selects the next binding.
|
void |
setCurrentBinding(VariableBinding currentBinding)
Set the variables this pattern uses in the given map.
|
Collection<? extends AtomVariable> getBindableVars(Collection<AtomVariable> bound)
Collection<? extends AtomVariable> getPrerequisiteVars(Collection<AtomVariable> bound)
void rebind(VariableBinding newBinding)
newBinding - Binding map. Implementation will
copy map if needed.boolean selectNextBinding()
void setCurrentBinding(VariableBinding currentBinding)
currentBinding - Copyright © 2019. All rights reserved.