Quantum Fog  0.9.3
Public Member Functions | Private Attributes | List of all members
QB_NET Class Reference
Collaboration diagram for QB_NET:
Collaboration graph
[legend]

Public Member Functions

VOID clear_nds ()
 
VOID clear ()
 
VOID init ()
 
NODEget_nd_ptr (USHORT nd_id)
 
USHORT get_num_of_nds () const
 
const STRINGYget_nd_name (USHORT nd_id) const
 
VOID set_nd_name (USHORT nd_id, const STRINGY &name)
 
USHORT get_len_of_longest_nd_name ()
 
USHORT get_len_of_longest_st_name (USHORT nd_id)
 
VOID set_state_name (USHORT nd_id, USHORT row_num, const STRINGY &new_name)
 
const USHORT get_cur_finesse_of_amps () const
 
VOID filter_out_small_amps (USHORT finesse)
 
VOID set_act_sts_of_a_nd (USHORT nd_id, const SET &act_sts)
 
VOID activate_a_nd_state (USHORT nd_id, USHORT st_id)
 
VOID empty_act_st_sets_of_all_nds ()
 
VOID fill_act_st_sets_of_all_nds ()
 
VOID preserve_act_st_sets_of_all_nds ()
 
VOID restore_act_st_sets_of_all_nds ()
 
BOOLEAN sort_into_layers_of_external_nds (VECTOR< USHORT > &era_of, USHORT &num_of_eras)
 
BOOLEAN chrono_sort ()
 
VOID grow_num_of_nd_ptrs ()
 
VOID warn_user_about_cycle ()
 
BOOLEAN add_int_arrow (USHORT s, USHORT d, BOOLEAN try_to_sort)
 
USHORT add_nd (const STRINGY &nd_class_str, BOOLEAN try_to_sort)
 
VOID set_degen_of_a_nd (USHORT nd_id, USHORT degen)
 
USHORT get_degen_of_a_nd (USHORT nd_id)
 
USHORT get_max_degen ()
 
USHORT get_num_of_bi_nds ()
 
BI_NODEget_bi_nd_ptr (USHORT loc)
 
STRINGY get_bi_nd_name (USHORT loc)
 
VOID get_bi_nd (USHORT loc, USHORT &nd1, USHORT &nd2)
 
BOOLEAN add_bi_nd (USHORT nd1, USHORT nd2)
 
VOID warn_user_about_repeated_bi_nd ()
 
VOID warn_user_about_degenerate_bi_nd ()
 
const DICTIONARYget_dict () const
 
VOID create_nd_name_dictionary ()
 
VOID create_nd_st_dictionaries ()
 
VOID create_dictionaries ()
 
VOID kill_nd_name_dictionary ()
 
VOID kill_nd_st_dictionaries ()
 
VOID kill_dictionaries ()
 
VOID read_topology_file (MY_IFSTREAM &istream)
 
BOOLEAN good_nd_sts_file (MY_IFSTREAM &istream)
 
BOOLEAN read_nd_sts_file (MY_IFSTREAM &istream)
 
BOOLEAN good_amps_file (MY_IFSTREAM &istream)
 
BOOLEAN read_amps_file (MY_IFSTREAM &istream)
 
BOOLEAN good_ecases_file (MY_IFSTREAM &istream)
 
VOID write_one_story_into_file (MY_OFSTREAM *fstream_p, USHORT net_story_count, USHORT ending)
 
VOID write_header_of_nd_probs_file (MY_OFSTREAM *nd_probs_stream_p)
 
VOID write_nd_probs_into_file (const CHAR *ecase_name_cstr, MY_OFSTREAM *nd_probs_stream_p)
 
VOID write_bi_nd_probs_into_file (const CHAR *ecase_name_cstr, MY_OFSTREAM *bi_nd_probs_stream_p)
 
VOID set_cum_info_to_default ()
 
VOID fill_final_era_degens (VECTOR< USHORT > &final_era_degens)
 
VOID set_all_dyn_sts_to_max_ushort ()
 
BOOLEAN external_nds_accept_ending (const VECTOR< USHORT > &ending_vec)
 
BOOLEAN dyn_in_st_is_consistent (USHORT nd_id)
 
VOID send_dyn_in_st_to_nds (USHORT nd_id)
 
VOID use_dyn_in_sts_to_reconstruct_dyn_sts_for_times_larger_than (USHORT limit_time)
 
VOID set_dyn_net_story_and_amp ()
 
VOID add_story_to_cum_amps ()
 
VOID prepare_cum_info_for_next_ending ()
 
VOID normalize_cum_probs ()
 
VOID add_story_to_anthology (USHORT ending)
 
VOID multi_mode_go (BOOLEAN is_mini_run, const CHAR *ecase_name_cstr, MY_OFSTREAM *nd_probs_stream_p, MY_OFSTREAM *bi_nd_probs_stream_p, MY_OFSTREAM *stories_stream_p, BOOLEAN illustrate_stories, DOUBLE &out_prob, USHORT &num_of_stories)
 
VOID go_forward (const CHAR *ecase_name_cstr, MY_OFSTREAM *nd_probs_stream_p, MY_OFSTREAM *bi_nd_probs_stream_p, MY_OFSTREAM *stories_stream_p, BOOLEAN illustrate_stories)
 
VOID do_mini_run (DOUBLE &out_prob, USHORT &num_of_stories)
 

Private Attributes

NODE ** its_nds_p_p
 
USHORT its_num_of_nd_ptrs
 
USHORT its_num_of_nds
 
L_LIST< BI_NODEits_bi_nds
 
const STRINGY ** its_nd_names_p_p
 
DICTIONARYits_nd_name_dict_p
 
VECTOR< USHORT > its_nd_chronology
 
USHORT its_final_era_len
 
COMPLEX its_dyn_amp
 
VECTOR< USHORT > its_dyn_story
 

The documentation for this class was generated from the following files: