Thursday, September 10, 2015

Perkun interactive commands.

While executing Perkun ( loop instruction (in the interactive mode) it is possible to give a special command rather than the list of input variable values. There are three such commands:
  • verbose
  • silent
  • reset
Verbose switches Perkun to verbose mode and silent does the reverse. In the verbose mode the Perkun's decision is "explained", i.e. the expected values of the payoff are given for all decisions being considered. The reset command destroys the current belief, so that it will be replaced by an apriori (uniform) belief.

If you are curious how the commands work take a look at the function optimizer_with_all_data::get_input. This function is virtual and is likely to be replaced in your own programs based on Perkun.

No comments:

Post a Comment