org.tm4j.tolog.QueryEvaluator .optimiseParams(org.tm4j.tolog.parser.ASTParameterList params,java.util.Hashtable vars)

Description

Alters the ordering of params so that all facts (parameters with no variables) occur at the start of the list. This method also replaces any variables with the assumed value specified in vars.

Parameters
org.tm4j.tolog.parser.ASTParameterList params The ASTParameterList of the parsed query
java.util.Hashtable vars The assumed values for the variables so far

Returns

A List of PlayerRole objects representing the parameters

Other Resources

Related Topics