public class BasicLibrary extends Library
Constructor and Description |
---|
BasicLibrary() |
Modifier and Type | Method and Description |
---|---|
boolean |
$s_next0_3(Term witness,
Term wtList,
Term sNext) |
boolean |
$wt_unify_3(Term witness,
Term wtList,
Term tList) |
boolean |
add_theory_1(Term th)
adds a new theory provided as a text
|
boolean |
agent_1(Term th)
spawns a separate prolog agent
providing it a theory text
|
boolean |
agent_2(Term th,
Term g)
spawns a separate prolog agent
providing it a theory text and a goal
|
boolean |
atom_1(Term t) |
boolean |
atomic_1(Term t) |
boolean |
compound_1(Term t) |
boolean |
constant_1(Term t) |
Term |
expression_bitwise_and_2(Term arg0,
Term arg1) |
Term |
expression_bitwise_not_1(Term arg0) |
Term |
expression_bitwise_or_2(Term arg0,
Term arg1) |
Term |
expression_bitwise_shift_left_2(Term arg0,
Term arg1) |
Term |
expression_bitwise_shift_right_2(Term arg0,
Term arg1) |
Term |
expression_div_2(Term arg0,
Term arg1) |
boolean |
expression_equality_2(Term arg0,
Term arg1) |
boolean |
expression_greater_or_equal_than_2(Term arg0,
Term arg1) |
boolean |
expression_greater_than_2(Term arg0,
Term arg1) |
Term |
expression_integer_div_2(Term arg0,
Term arg1) |
boolean |
expression_less_or_equal_than_2(Term arg0,
Term arg1) |
boolean |
expression_less_than_2(Term arg0,
Term arg1) |
Term |
expression_minus_1(Term arg1) |
Term |
expression_minus_2(Term arg0,
Term arg1) |
Term |
expression_multiply_2(Term arg0,
Term arg1) |
Term |
expression_plus_1(Term arg0) |
Term |
expression_plus_2(Term arg0,
Term arg1) |
Term |
expression_pow_2(Term arg0,
Term arg1) |
boolean |
float_1(Term t) |
boolean |
get_operators_list_1(Term argument) |
boolean |
get_theory_1(Term arg)
gets current theory text
|
String[][] |
getSynonymMap()
Defines some synonyms
|
String |
getTheory()
Gets the theory provided with the library
Empty theory is provided by default.
|
boolean |
ground_1(Term t) |
boolean |
integer_1(Term t) |
boolean |
iterated_goal_term_2(Term term,
Term goal) |
boolean |
list_1(Term t) |
boolean |
load_library_2(Term className,
Term libName) |
boolean |
load_library_from_theory_2(Term th,
Term libName)
Loads a library constructed from a theory.
|
boolean |
nonvar_1(Term t) |
boolean |
nospy_0() |
boolean |
nowarning_0() |
boolean |
num_atom_2(Term arg0,
Term arg1) |
boolean |
number_1(Term t) |
boolean |
set_theory_1(Term th)
sets a new theory provided as a text
|
boolean |
spy_0() |
boolean |
term_equality_2(Term arg0,
Term arg1) |
boolean |
term_greater_than_2(Term arg0,
Term arg1) |
boolean |
term_less_than_2(Term arg0,
Term arg1) |
boolean |
text_concat_3(Term source1,
Term source2,
Term dest) |
boolean |
text_term_2(Term arg0,
Term arg1)
bidirectional text/term conversion.
|
boolean |
var_1(Term t) |
boolean |
warning_0() |
dismiss, evalExpression, getEngine, getName, getPrimitives, match, onSolveBegin, onSolveEnd, unify
public boolean set_theory_1(Term th)
public boolean add_theory_1(Term th)
public boolean get_theory_1(Term arg)
public boolean load_library_from_theory_2(Term th, Term libName)
theory
- theory textlibName
- name of the librarypublic boolean get_operators_list_1(Term argument)
public boolean agent_1(Term th)
public boolean agent_2(Term th, Term g)
public boolean spy_0()
public boolean nospy_0()
public boolean warning_0()
public boolean nowarning_0()
public boolean constant_1(Term t)
public boolean number_1(Term t)
public boolean integer_1(Term t)
public boolean float_1(Term t)
public boolean atom_1(Term t)
public boolean compound_1(Term t)
public boolean list_1(Term t)
public boolean var_1(Term t)
public boolean nonvar_1(Term t)
public boolean atomic_1(Term t)
public boolean ground_1(Term t)
public boolean expression_less_or_equal_than_2(Term arg0, Term arg1)
public boolean expression_greater_or_equal_than_2(Term arg0, Term arg1)
public String getTheory()
Library
public String[][] getSynonymMap()
getSynonymMap
in class Library
Copyright © 2015. All rights reserved.