hamming_tester.cpp File Reference

#include <basis/guards.h>
#include <basis/istring.h>
#include <hamming/hamming.h>
#include <opsystem/command_line.h>
#include <data_struct/static_memory_gremlin.h>
#include <stdlib.h>

Include dependency graph for hamming_tester.cpp:

Go to the source code of this file.

Functions

void print_instructions_and_exit (char *program_name)
const char RANDOMIZE_PATTERN_OPTION ('r')
const char NUMBER_OF_RANDOMS_OPTION ('n')
const char OUTPUT_FILE_NAME_OPTION ('o')
const char NUMBER_OF_INPUT_FAULTS_OPTION ('i')
const char LOUDNESS_OPTION ('L')
const char NUMBER_OF_WEIGHT_FAULTS_OPTION ('w')
const char NUMBER_OF_MAXNET_FAULTS_OPTION ('m')
const char NUMBER_OF_OUTPUT_FAULTS_OPTION ('u')
int main (int argc, char *argv[])

Variables

 HOOPLE_STARTUP_CODE


Function Documentation

const char LOUDNESS_OPTION ( 'L'   ) 

Referenced by main().

int main ( int  argc,
char *  argv[] 
)

Definition at line 69 of file hamming_tester.cpp.

References hamming::copy_pattern(), hamming::corrupter(), hamming::current_time(), command_line::entries(), command_line::find(), command_line::get(), hamming::get_defaults(), hamming::get_exemplars(), hamming::get_sample(), hamming::init_lower_subnet(), hamming::init_upper_subnet(), hamming::init_with_unknown_pattern(), hamming::iterate_until_convergence(), LOUDNESS_OPTION(), NUMBER_OF_INPUT_FAULTS_OPTION(), NUMBER_OF_MAXNET_FAULTS_OPTION(), NUMBER_OF_OUTPUT_FAULTS_OPTION(), NUMBER_OF_RANDOMS_OPTION(), NUMBER_OF_WEIGHT_FAULTS_OPTION(), OUTPUT_FILE_NAME_OPTION(), hamming::pattern_cols(), hamming::pattern_rows(), print_instructions_and_exit(), RANDOMIZE_PATTERN_OPTION(), hamming::read_file(), istring::s(), hamming::save_sample(), SCREEN_WIDTH, hamming::show_exemplars(), hamming::show_pattern_line(), command_parameter::text(), and hamming::x.

const char NUMBER_OF_INPUT_FAULTS_OPTION ( 'i'   ) 

Referenced by main().

const char NUMBER_OF_MAXNET_FAULTS_OPTION ( 'm'   ) 

Referenced by main().

const char NUMBER_OF_OUTPUT_FAULTS_OPTION ( 'u'   ) 

Referenced by main().

const char NUMBER_OF_RANDOMS_OPTION ( 'n'   ) 

Referenced by main().

const char NUMBER_OF_WEIGHT_FAULTS_OPTION ( 'w'   ) 

Referenced by main().

const char OUTPUT_FILE_NAME_OPTION ( 'o'   ) 

Referenced by main().

void print_instructions_and_exit ( char *  program_name  ) 

Definition at line 25 of file hamming_tester.cpp.

const char RANDOMIZE_PATTERN_OPTION ( 'r'   ) 

Referenced by main().


Variable Documentation

HOOPLE_STARTUP_CODE

Definition at line 23 of file hamming_tester.cpp.


Generated on Fri Nov 28 04:30:30 2008 for HOOPLE Libraries by  doxygen 1.5.1