public abstract class Library extends Object implements Serializable
Each library can expose to engine:
| Modifier and Type | Field and Description | 
|---|---|
| protected Prolog | engineprolog core which loaded the library | 
| Constructor and Description | 
|---|
| Library() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dismiss()method invoked by prolog engine when library is going to be removed | 
| String | getName() | 
| String[] | getSynonym(String primitiveName)Defines a map for synonyms for primitives. | 
| String | getTheory() | 
| void | onSolveBegin(Term goal)method invoked when the engine is going to demonstrate a goal | 
| void | onSolveEnd()method invoked when the engine has finished a demostration | 
| void | setEngine(Prolog en) | 
protected Prolog engine
public String getName()
public String getTheory()
public String[] getSynonym(String primitiveName)
public void setEngine(Prolog en)
public void dismiss()
public void onSolveBegin(Term goal)
public void onSolveEnd()
Copyright © 2020–2024 Prolobjectlink Project. All rights reserved.