perkun
0.0.9
ExperimentalAIlanguage
|
#include <perkun.h>
Public Member Functions | |
virtual void | dump_stack (std::ostream &s) const |
virtual void | dump_stack_XML (std::ostream &s) const |
virtual void | dump_iteration_report (std::ostream &s) const |
virtual void | dump_iteration_report_XML (std::ostream &s) const |
Public Member Functions inherited from perkun::dump_controller | |
void | set_min_report_depth (int d) |
void | set_max_report_depth (int d) |
Protected Types | |
enum | decision { BREAK, CONTINUE, NONE } |
Protected Types inherited from perkun::dump_controller | |
enum | target_type { COUT = 0x1, CERR = 0x2, SINGLE_FILE = 0x4, ITERATED_FILES = 0x8 } |
enum | dump_stack_mode_type { dump_stack_as_XML, dump_stack_as_text } |
enum | dump_belief_mode_type { dump_belief_as_XML, dump_belief_as_text } |
enum | dump_iteration_report_mode_type { dump_iteration_report_as_XML, dump_iteration_report_as_text } |
Protected Member Functions | |
virtual decision | make_decision (const std::list< tracker * > &s) |
Protected Member Functions inherited from perkun::dump_controller | |
virtual void | dump_belief (std::ostream &s) const =0 |
virtual void | dump_belief_XML (std::ostream &s) const =0 |
virtual std::string | get_stack_file_prefix () const |
virtual std::string | get_iteration_report_file_prefix () const |
virtual std::string | get_belief_file_prefix () const |
void | dump_stack_to_target_stream () |
void | dump_belief_to_target_stream () |
void | dump_iteration_report_to_target_stream () |
Protected Attributes | |
std::list< tracker * > | stack_of_trackers |
Protected Attributes inherited from perkun::dump_controller | |
dump_stack_mode_type | dump_stack_mode |
dump_belief_mode_type | dump_belief_mode |
dump_iteration_report_mode_type | dump_iteration_report_mode |
target_type | dump_stack_target |
target_type | dump_belief_target |
target_type | dump_iteration_report_target |
int | min_report_depth |
int | max_report_depth |
int | stack_file_counter |
int | belief_file_counter |
int | iteration_report_file_counter |
Base class of all the classes optimized with some heuristics. In our case it is inherited by the optimizer class.
|
protected |
Possible decisions to by done based on some heuristics.
|
virtual |
Dumps the trackers to the given stream. This works in the optimizer in the verbose mode only.
Implements perkun::dump_controller.
|
protectedvirtual |
This function can be overriden to make a decision based on some heuristics. It should use the stack_of_trackers as its input.
|
protected |
Stack of the tracker objects.