Commit 4c1d106e authored by Carsten Kemena's avatar Carsten Kemena

training version

parent f77b6a30
......@@ -287,17 +287,17 @@ main(int argc, char const *argv[])
fs::path detailedFile;
po::options_description hiddenO("Hidden options");
int w;//, m;
fs::path m, m2;
int w, m;
//fs::path m, m2;
hiddenO.add_options()
("detailed", po::value<fs::path>(&detailedFile), "The output file for the detailed results")
("window_size", po::value<int>(&w), "The window size")
("match", po::value<fs::path>(&m), "The number of matches required")
("match2", po::value<fs::path>(&m2), "The number of matches required")
("match", po::value<int>(&m), "The number of matches required")
// ("match2", po::value<fs::path>(&m2), "The number of matches required")
;
allOpts.add(general).add(outputO).add(translateO).add(hiddenO);
po::options_description visible("radiant " + radiantVersion + " (C) 2017 Carsten Kemena\nThis program comes with ABSOLUTELY NO WARRANTY;\n\nAllowed options are displayed below.");
po::options_description visible("radiant " + radiantVersion + " (C) 2017,2018 Carsten Kemena\nThis program comes with ABSOLUTELY NO WARRANTY;\n\nAllowed options are displayed below.");
visible.add(general).add(outputO).add(translateO);
try
......@@ -386,7 +386,7 @@ main(int argc, char const *argv[])
//fs::path tmp = outFile;
// tmp += to_string(max_dist) + "_" + to_string(min_count) + ".txt";
//
/* map<unsigned short, int> domain2match, domain2match2;
/* map<unsigned short, int> domain2match;//, domain2match2;
std::ifstream file(m.string());
unsigned short p_id;
int threshold;
......@@ -396,7 +396,7 @@ main(int argc, char const *argv[])
file >> p_id >> threshold; // extracts 2 floating point values seperated by whitespace
domain2match[p_id] = threshold;
}
file.close();
file.close();*/
/*
file.open(m2.string());
while(!file.eof())
......@@ -412,9 +412,10 @@ main(int argc, char const *argv[])
for (size_t i = 0; i< seqSet.size(); ++i)
{
auto &assignment = assignments[i];
auto da = words2arrangement(assignment, 10, 12);
if (da.size() == 0)
da = words2arrangement(assignment, 5, 7);
//auto da = words2arrangement(assignment, 10, 12);
auto da = words2arrangement(assignment, m, w);
//if (da.size() == 0)
// da = words2arrangement(assignment, 5, 7);
//auto &assignment = assignments[i];
//auto da = words2arrangement(assignment, domain2match, 10);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment