-
I followed the documentation for class Engine and tried to verify using the query method, but a syntax error was output. qr = engine.query(system, "search-order 0\n" Is the writing of the second argument of the query method correct? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It is currently not possible to specify engine options in the query method. You would have to use the Here is an example of how to do this: EngineSettings options = engine.getOptions().get().getDefaultSettings();
options.addSetting("-S", "1");
options.addSetting("--state-representation", "0");
options.addSetting("--diagnostic", "0");
options.addSetting("--extrapolation", "0");
// Add remaining options here
engine.setOptionSettings(options);
engine.query(system, query, qf); |
Beta Was this translation helpful? Give feedback.
It is currently not possible to specify engine options in the query method. You would have to use the
engine.setOptionSettings
method and then call query.Here is an example of how to do this: