#include <config.h>
#ifdef HAVE_VERSION_H
#include <version.h>
#endif
#include "AGFrame.h"
#include <utils/common/StdDefs.h>
#include <router/ROFrame.h>
#include <duarouter/RODUAFrame.h>
#include <utils/common/SystemFrame.h>
#include <utils/common/RandHelper.h>
#include <utils/options/OptionsCont.h>
void AGFrame::fillOptions() {
OptionsCont& oc = OptionsCont::getOptions();
oc.addCallExample("--net-file <INPUT>.net.xml --stat-file <INPUT>.stat.xml --output <OUTPUT>.rou.xml --rand",
"generate a trips file from a stats file on a given net using arbitrary random seed");
oc.addCallExample("--net-file <INPUT>.net.xml --stat-file <INPUT>.stat.xml --output <OUTPUT>.rou.xml --duration-d <NBR_OF_DAYS>",
"generate a trips file from a stats file on a given net for numerous days (with fixed random seed)");
SystemFrame::addConfigurationOptions(oc);
oc.addOptionSubTopic("Input");
oc.addOptionSubTopic("Output");
oc.addOptionSubTopic("Processing");
oc.addOptionSubTopic("Time");
oc.doRegister("net-file", 'n', new Option_FileName());
oc.addSynonyme("net-file", "net");
oc.addDescription("net-file", "Input", TL("Use FILE as SUMO-network to create trips for"));
oc.doRegister("stat-file", 's', new Option_FileName());
oc.addDescription("stat-file", "Input", TL("Loads the SUMO-statistics FILE"));
SystemFrame::addReportOptions(oc);
RandHelper::insertRandOptions(oc);
oc.doRegister("output-file", 'o', new Option_FileName());
oc.addSynonyme("output-file", "output", true);
oc.addDescription("output-file", "Output", TL("Write generated trips to FILE"));
oc.doRegister("debug", new Option_Bool(false));
oc.addDescription("debug", "Report",
"Detailed messages about every single step");
oc.doRegister("begin", 'b', new Option_Integer(0));
oc.addDescription("begin", "Time", TL("Sets the time of beginning of the simulation during the first day (in seconds)"));
oc.doRegister("end", 'e', new Option_Integer(0));
oc.addDescription("end", "Time", TL("Sets the time of ending of the simulation during the last day (in seconds)"));
oc.doRegister("duration-d", new Option_Integer(1));
oc.addDescription("duration-d", "Time", TL("Sets the duration of the simulation in days"));
}
bool AGFrame::checkOptions() {
return true;
}