17namespace layer1_foundations {
35 int f_v = (verbose_level >= 1);
38 cout <<
"diophant_activity::init_from_file" << endl;
45 cout <<
"diophant_activity::init_from_file please use option -q <q>" << endl;
59 int f_v = (verbose_level >= 1);
62 cout <<
"diophant_activity::perform_activity" << endl;
71 long int nb_backtrack_nodes;
73 cout <<
"solving with mckay" << endl;
77 cout <<
"Found " << Dio->
_resultanz <<
" solutions with "
83 output_file.assign(Dio->
label);
93 cout <<
"solving with standard method" << endl;
97 cout <<
"Found " << Dio->
_resultanz <<
" solutions with "
103 output_file.assign(Dio->
label);
113 cout <<
"solving with DLX" << endl;
117 cout <<
"Found " << Dio->
_resultanz <<
" solutions with "
123 output_file.assign(Dio->
label);
194 cout <<
"Written file " << fname2 <<
" of size " << Fio.
file_size(fname2) << endl;
198 cout <<
"diophant_activity::perform_activity no activity found" << endl;
204 cout <<
"diophant_activity::perform_activity done" << endl;
a collection of functions related to file io
long int file_size(std::string &fname)
to describe an activity for a diophantine system from command line arguments
int f_project_to_single_equation_and_solve
int f_project_to_two_equations_and_solve
int max_number_of_coefficients
int f_test_single_equation
int f_perform_column_reductions
void perform_activity(diophant_activity_description *Descr, diophant *Dio, int verbose_level)
diophant_activity_description * Descr
void init_from_file(diophant_activity_description *Descr, int verbose_level)
diophantine systems of equations (i.e., linear systems over the integers)
int solve_all_DLX(int verbose_level)
void draw_partitioned(std::string &fname_base, graphics::layered_graph_draw_options *Draw_options, int f_solution, int *solution, int solution_sz, int verbose_level)
int solve_all_mckay(long int &nb_backtrack_nodes, int maxresults, int verbose_level)
void write_solutions(std::string &fname, int verbose_level)
void draw_as_bitmap(std::string &fname, int f_box_width, int box_width, int bit_depth, int verbose_level)
void split_by_two_equations(int eqn1_idx, int eqn2_idx, int f_solve_case, int solve_case_idx_r, int solve_case_idx_m, int verbose_level)
void project_to_single_equation_and_solve(int max_number_of_coefficients, int verbose_level)
int solve_all_betten(int verbose_level)
void read_general_format(std::string &fname, int verbose_level)
void split_by_equation(int eqn_idx, int f_solve_case, int solve_case_idx, int verbose_level)
diophant * trivial_column_reductions(int verbose_level)
void save_in_general_format(std::string &fname, int verbose_level)
orbiter_kernel_system::orbiter_session * Orbiter
global Orbiter session
the orbiter library for the classification of combinatorial objects