input stringlengths 10 828 | output stringlengths 5 107 |
|---|---|
protected void set image string image if image null throw new null pointer exception this image image | sets a new image to this term |
protected void set type set type set type if type null throw new null pointer exception this type type | sets a new type to this term |
public abstract term clone abstract term other abstract term super clone other type this type clone return other | returns a deep copy of this term |
private string to full problem string string buffer str new string buffer str append problem this problem name n str append domain this domain name n str append this requirementsto string str append this typesto string str append this constants to string constants str append this predicates to string str append this functions to string str append this constraints to string str append this axioms to string str append this actions to string str append this init to string str append this goal to string n str append this metric to string return str to string | returns a string representation of a full problem |
public term to negative normal form return this clone | returns the negative normal form of this expression |
public int hash code return this get exp id hash code this condition hash code this effect hash code | returns a hash code value for the conditional expression |
public int hash code return super hash code this id hash code this get image hash code | returns the hash code value of this term |
public int hash code return super hash code this arguments hash code | returns the hash code value of this function head |
private string requirementsto string string buffer str new string buffer if this requirements is empty str append requirements for require key rk this requirements str append rk to string str append n return str to string | returns a string representation of the requirements |
public fexp clone fexp other fexp super clone other arguments new array list term for term arg this arguments other arguments add arg clone return other | return a deep copy of this function |
public exp move quantifier outward return new when exp this condition move quantifier outward this effect move quantifier outward | returns a copy of this expression such that the quantifiers appear first |
private string typesto string string buffer str new string buffer if this types is empty str append types for string img this types key set type type new type img this types str append n type to string set type super types type get super types if super types is empty str append iterator type i super types iterator if super types size 1 str append either while i has next str append i next to string str append else str append i next to string str append n return str to string | returns a string representation of the types |
public term get binding final variable var if var null throw new null pointer exception return this binding get var | returns the term to which a specific variable is bound |
public string to string final string builder str new string builder str append str append this get image to string for term t this arguments str append t to string str append return str to string | returns a string representation of this function |
public when exp to disjunctive normal form return new when exp this condition to disjunctive normal form this effect to disjunctive normal form | return the disjunctive normal form of this expression |
public substitution clone try substitution other substitution super clone other binding new linked hash map variable term for map entry variable term e this binding entry set other binding put e get key clone e get value clone return other catch clone not supported exception e throw new error | returns a deep copy of the subtitution |
public void set options properties options this options options | sets the new options of the parser |
public string to string string buffer str new string buffer str append if this binding is empty iterator map entry variable term i this binding entry set iterator map entry variable term e i next str append e get key e get value to string while i has next e i next str append e get key e get value to string str append return str to string | returns a string representation of the substitution |
public when exp to conjunctive normal form return new when exp this condition to conjunctive normal form this effect to conjunctive normal form | returns the conjunctive normal form of this expression |
private string constants to string string label string buffer str new string buffer if this constants is empty str append label for constant cst this constants values if this requirements contains require key typing str append n cst to typed string else str append cst to string str append n return str to string | returns a string representation of the constants |
public string to typed string string buffer str new string buffer str append if this binding is empty iterator map entry variable term i this binding entry set iterator map entry variable term e i next str append e get key e get key get type set e get value to string e get value get type set while i has next e i next str append e get key e get key get type set e get value to string e get value get type set str append return str to string | returns a typed string representation of the substitution |
public when exp to negative normal form return new when exp this condition to negative normal form this effect to negative normal form | returns the negative normal form of this expression |
public term apply substitution sigma if sigma null throw new null pointer exception term value sigma get binding this return value null value this clone | returns the binding term to this variable in the specified substitution |
public int size return this binding size | returns the size of the substitution |
public string to string string buffer str new string buffer str append when str append this condition to string str append str append this effect to string str append return str to string | returns a string representation of the conditional expression |
private string predicates to string string buffer str new string buffer if this predicates is empty str append predicates for atomic formula atom this predicates if this requirements contains require key typing str append n atom to typed string else str append atom to string str append n return str to string | returns a string representation of the predicates |
public variable get variable return this var | returns the binding variable |
public string to typed string string buffer str new string buffer str append when str append this condition to typed string str append str append this effect to typed string str append return str to string | returns a typed string representation of the conditional expression |
public term get term return this term | returns the binding term value |
private string functions to string string buffer str new string buffer if this functions is empty str append functions for fhead func this functions if this requirements contains require key typing str append n func to typed string else str append n func to string str append n return str to string | returns a string representation of the functions |
public int hash code return this var hash code this term hash code | returns the hash code value this binding |
public string to string return this var to string this term to string | returns a string representation of this binding |
private string constraints to string string buffer str new string buffer if this constraints is empty str append constraints for exp exp this constraints if this requirements contains require key typing str append n exp to typed string else str append n exp to string str append n return str to string | returns a string representation of the constraints |
private string axioms to string string buffer str new string buffer if this axioms is empty for derived predicate axiom this axioms if this requirements contains require key typing str append axiom to typed string else str append axiom to string str append n return str to string | returns a string representation of the axioms |
private string actions to string string buffer str new string buffer if this actions is empty for action def action this actions values str append action to typed string str append n return str to string | returns a string representation of the actions |
public error manager get error manager return this mgr | returns the error manager of the compiler |
private string metric to string string buffer str new string buffer if this metric null str append this metric to string return str to string | returns a string representation of the metric |
public string to string string buffer str new string buffer str append metric this optimization to string to lower case str append this get exp to string str append return str to string | returns a string representation of this metric expression |
public boolean add variable var return this vars add var | adds a new quantified variable to this quantified expression |
public variable clone return variable super clone | return a deep copy of this variable |
private string init to string string buffer str new string buffer if this init is empty str append init for init el el this init str append n if this requirements contains require key typing str append el to typed string else str append el to string str append n return str to string | returns a string representation of the init |
public string to typed string string buffer str new string buffer str append metric this optimization to string to lower case str append this get exp to typed string str append return str to string | returns a typed string representation of this metric expression |
public string to string string buffer str new string buffer str append at end str append this exp to string str append return str to string | returns a string representation of this at end timed expression |
public string to typed string string buffer str new string buffer str append at end str append this exp to typed string str append return str to string | returns a typed string representation of this at end timed expression |
public int hash code return this get exp id hash code this vars hash code this exp hash code | returns the hash code value of this quantified expression |
private string goal to string string buffer str new string buffer if this goal null str append goal str append n if this requirements contains require key typing str append goal to typed string else str append goal to string str append return str to string | returns a string representation of the goal |
public exp get exp return this exp | returns the expression contained in the timed expression |
public int hash code return super hash code this specifier hash code | returns a hash code value for the at timed expression |
public string to string string buffer str new string buffer str append over all str append this exp to string str append return str to string | returns a string representation of this over all timed expression |
public string to typed string string buffer str new string buffer str append over all str append this exp to typed string str append return str to string | returns a typed string representation of this over all timed expression |
public literal get exp return literal this exp | returns the literal contained in the timed expression |
public string to string string buffer str new string buffer str append at start str append this exp to string str append return str to string | returns a string representation of this at start timed expression |
public string to typed string string buffer str new string buffer str append at start str append this exp to typed string str append return str to string | returns a typed string representation of this at start timed expression |
public number get time stamp return this ts | returns the time stamp of the timed literal |
public int hash code return super hash code this interval hash code | returns a hash code value for the over timed expression |
public void set time stamp number time if time null throw new null pointer exception if time get value 0 throw new illegal argument exception this ts time | sets a new time stamp to the timed literal |
public exp to prenex norma form quantified exp pnf this standardize pnf exp pnf exp move quantifier outward return pnf | returns the prenex normal form of this expression |
public boolean add term term return this get exp add term | adds a new term to the timed literal |
public int hash code return super hash code this exp hash code | returns a hash code value for the timed expression |
public int get arity return this get exp get arity | returns the arity of the timed literal |
public string get predicate return this get exp get predicate | returns the predicate of the timed literal |
public exp move quantifier outward timed exp other timed exp super clone other exp this exp move quantifier outward return other | returns a copy of this expression such that the quantifiers appear first |
public string to string string buffer str new string buffer str append this get exp id to string to lower case str append if this vars is empty iterator variable i this iterator str append i next to string while i has next str append i next to string str append str append str append this exp to string str append return str to string | returns a string representation of the quantified expression |
public timed exp to disjunctive normal form timed exp other this clone other exp this exp to disjunctive normal form return other | return the disjunctive normal form of this expression |
public string to typed string string buffer str new string buffer str append this get exp id to string to lower case str append if this vars is empty iterator variable i this iterator str append i next to typed string while i has next str append i next to typed string str append str append str append this exp to typed string str append return str to string | returns a typed string representation of the quantified expression |
public timed exp to conjunctive normal form timed exp other this clone other exp this exp to conjunctive normal form return other | returns the conjunctive normal form of this expression |
public or exp to disjunctive normal form and exp nnf this to negative normal form or exp dnf new or exp dnf add new and exp for exp e nnf exp ednf e to disjunctive normal form if ednf get exp id equals exp id or or exp or or exp ednf or exp new dnf new or exp for exp oe or for exp and dnf and exp other and exp and clone other add oe new dnf add other dnf new dnf else for exp ex dnf and exp ex add ednf return dnf | return the disjunctive normal form of this expression |
public and exp to negative normal form and exp other new and exp for exp exp this other add exp to negative normal form return other | returns the negative normal form of this expression |
public void set error manager error manager mgr this mgr mgr | sets a new error manager to the compiler |
public timed exp to negative normal form timed exp other this clone other exp this exp to negative normal form return other | returns the negative normal form of this expression |
public int hash code return super hash code this ts hash code | returns a hash code value for the timed literal |
public string to string string buffer str new string buffer str append and for exp elt this elements str append str append elt to string str append return str to string | returns a string representation of the conjunctive expression |
public string to typed string string buffer str new string buffer str append and for exp elt this elements str append str append elt to typed string str append return str to string | returns a typed string representation of the conjunctive expression |
public string to string string buffer str new string buffer str append at str append this ts to string str append str append this get exp to string str append return str to string | returns a string representation of this at start timed expression |
public string to typed string string buffer str new string buffer str append at str append this ts to typed string str append str append this get exp to typed string str append return str to string | returns a typed string representation of this at start timed |
public int hash code return this get exp id hash code this head hash code this body hash code | returns a hash code value for the implication expression |
public exists exp to disjunctive normal form exists exp dnf this clone dnf exp this exp to disjunctive normal form return dnf | return the disjunctive normal form of this expression |
public exists exp to conjunctive normal form exists exp cnf this clone cnf exp this exp to conjunctive normal form return cnf | returns the conjunctive normal form of this expression |
public exists exp to negative normal form exists exp nnf this clone nnf exp this exp to negative normal form return nnf | returns the negative normal form of this expression |
public int hash code return this predicate hash code this arguments hash code | returns the hash code value of this atomic formula |
public or exp to disjunctive normal form return this to negative normal form to disjunctive normal form | return the disjunctive normal form of this expression |
public or exp to disjunctive normal form or exp dnf new or exp dnf add this clone return dnf | return the disjunctive normal form of this expression |
public and exp to conjunctive normal form return this to negative normal form to conjunctive normal form | returns the conjunctive normal form of this expression |
public and exp to conjunctive normal form and exp cnf new and exp cnf add this clone return cnf | returns the conjunctive normal form of this expression |
public or exp to negative normal form or exp nnf new or exp nnf add new not exp this head nnf add this body return nnf to negative normal form | returns the negative normal form of this expression |
public or exp to disjunctive normal form exp nnf this to negative normal form if nnf get exp id equals exp id not or exp dnf new or exp dnf add new not exp this exp to disjunctive normal form to negative normal form return dnf return or exp nnf to disjunctive normal form | return the disjunctive normal form of this expression |
public atomic formula to negative normal form return this clone | returns the negative normal form of this expression |
public int hash code return this get exp id hash code this elements hash code | returns a hash code value for the list expression |
public string to string string buffer str new string buffer str append str append this predicate for term t this arguments str append str append t to string str append return str to string | returns a string representation of this atomic formula |
public and exp to conjunctive normal form exp nnf this to negative normal form if nnf get exp id equals exp id not and exp cnf new and exp cnf add new not exp this exp to conjunctive normal form to negative normal form return cnf return and exp nnf to conjunctive normal form | returns the conjunctive normal form of this expression |
public string to string string buffer str new string buffer str append imply str append this head to string str append str append this body to string str append return str to string | returns a string representation of the implication expression |
public string to typed string string buffer str new string buffer str append str append this predicate for term t this arguments str append str append t to typed string str append return str to string | returns a typed string representation of this atomic formula |
public boolean add type type if type null throw new null pointer exception return this types add type | adds a type to this type set |
public string to typed string string buffer str new string buffer str append imply str append this head to typed string str append str append this body to typed string str append return str to string | returns a typed string representation of the implication expression |
public boolean remove type type if type null throw new null pointer exception return this types remove type | removes a type to this type set |
public string to string return this get class get name type hierachy of this type to string is insconsistant | returns a string representation of this typing exception |
public atomic formula get exp return atomic formula super get exp | returns the negated expression of this expression |
public string to string string buffer str new string buffer str append not str append this exp to string str append return str to string | returns a string representation of the negative expression |
public string to string string buffer str new string buffer str append this image str append if this sub types is empty iterator type i this sub types iterator str append i next image while i has next str append i next image str append if this super types is empty iterator type i this super types iterator str append i next image while i has next str append i next image str append return str to string | returns a string representation of this type |
public string to typed string string buffer str new string buffer str append not str append this exp to typed string str append return str to string | returns a typed string representation of the negative expression |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.