16 typedef pair<bool, SpeciesID>
Step;
17 static vector<Step> *
__PATH =
new vector<Step>;
23 __PATH->push_back(
Step(_ps_node->hasInverseProbes(), _ps_node->hasProbes() ? _ps_node->getNum() : -(_ps_node->getNum())));
26 if (_ps_node->hasChildren()) {
33 printf(
"[%4zu] ", __PATH->size());
34 for (vector<Step>::const_iterator i=__PATH->begin(); i != __PATH->end(); ++i) {
35 printf(
"%4i%c ", i->second, i->first ?
'+' :
' ');
48 int main(
int argc,
char *argv[]) {
52 printf(
"Missing arguments\n Usage %s <database name>\n", argv[0]);
56 const char *input_DB_name = argv[1];
58 printf(
"Opening probe-set-database '%s'..\n", input_DB_name);
62 printf(
"loaded database (enter to continue)\n");
69 printf(
"(enter to continue)\n");
73 printf(
"root should be destroyed now\n");
74 printf(
"(enter to continue)\n");
static const bool READONLY
PS_NodeMap::const_iterator PS_NodeMapConstIterator
void setNull()
set SmartPtr to NULp
pair< bool, SpeciesID > Step
static vector< Step > * __PATH
static void PS_print_paths(const PS_NodePtr &_ps_node)
int main(int argc, char *argv[])