← Documentation
ADS-IDAC Engine 5.0.0
Scheduler.h File Reference

Simulation configuration, directory management, CLI options, and truncation control. More...

#include <typeinfo>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <fstream>
#include <iostream>
#include <boost/serialization/string.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include "../Global/SimConstants.h"
#include "../Global/TermConversions.h"
#include <boost/serialization/export.hpp>
#include <boost/serialization/access.hpp>
Include dependency graph for Scheduler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Scheduler
 

Macros

#define GetCurrentDir   getcwd
 

Detailed Description

Simulation configuration, directory management, CLI options, and truncation control.

The Scheduler holds the project directories, the input deck path, the truncation probability and time, the crew action time multipliers and the sequence termination flags. parseOptions() parses the command line with Boost.Program_options, merges options from ZiniADS.txt in the current working directory, fills g_sim.config and reads the truncation settings from Input/Scheduler/ZCtrlPar.txt. checkForTerminatingCurrentSequence() decides at every evaluation point whether the running sequence ends.

Definition in file Scheduler.h.

Macro Definition Documentation

◆ GetCurrentDir

#define GetCurrentDir   getcwd

Definition at line 22 of file Scheduler.h.