|
| FMTlinegraph () |
|
| ~FMTlinegraph ()=default |
|
| FMTlinegraph (const FMTgraphbuild lbuildtype) |
|
| FMTlinegraph (const FMTlinegraph &rhs) |
|
| FMTlinegraph (const FMTgraph< FMTbasevertexproperties, FMTbaseedgeproperties > &rhs) |
|
FMTlinegraph & | operator= (const FMTlinegraph &rhs) |
|
FMTlinegraph & | operator= (const FMTgraph< FMTbasevertexproperties, FMTbaseedgeproperties > &rhs) |
|
void | setaction (FMTvertex_descriptor active, const int &actionID, const std::vector< Core::FMTdevelopmentpath > &paths) |
|
size_t | operate (const Core::FMTaction &action, const int &action_id, const Core::FMTtransition &transition, const Core::FMTyields &ylds, const std::vector< Core::FMTtheme > &themes) |
|
void | grow () |
|
FMTvertex_descriptor | getactivevertex () const |
|
int | getlastactionid (const int &period) const |
|
std::vector< int > | getperiodactionids (const int &period) const |
|
std::vector< FMTpredictor > | getperiodpredictors (const int &period, const Models::FMTmodel &model, const std::vector< std::string > &yieldnames, bool periodonevalues=false, bool withGCBMid=true) const |
|
int | getinedgeactionid (const FMTvertex_descriptor &vdesc) const |
|
const Core::FMTdevelopment & | getperiodstartdev (const int &period) const |
|
const Core::FMTdevelopment & | getperiodstopdev (const int &period) const |
|
int | randomoperate (const std::vector< int > &operables, const Models::FMTmodel &model, FMTvertex_descriptor &front_vertex, std::default_random_engine &generator, const Core::FMTdevelopment &active_development, bool dontchoosegrow=false) |
|
std::vector< int > | randombuildperiod (const Models::FMTmodel &model, std::default_random_engine &generator, boost::unordered_map< Core::FMTdevelopment, std::vector< int > > &operability, bool dontchoosegrow=false) |
|
FMTgraphstats | clearfromperiod (const int &period, bool updatedevelopments=false) |
|
FMTlinegraph | partialcopy (const int &period) const |
|
std::vector< std::vector< bool > > | getactions (const Models::FMTmodel &model, const int &fromperiod, std::map< Core::FMTdevelopment, std::vector< bool > > &operability) const |
|
const Core::FMTdevelopment & | getbasedevelopment () const |
|
size_t | getbasehash (const Core::FMTmask &dynamicmask) const |
|
std::string | getbasestr (const Core::FMTmask &dynamicmask) const |
|
Core::FMTmask | getbasemask (const Core::FMTmask &dynamicmask) const |
|
size_t | getedgeshash (const int &maximalperiod, bool &gotthewhole) const |
|
std::string | getedgesstr (const int &maximalperiod, bool &gotthewhole) const |
|
void | filledgesmask (Core::FMTmask &mask, const int &maximalperiod) const |
|
bool | stringforconstraint (std::string &value, const int &stop, const Core::FMTmask &dynamicmask) const |
|
bool | hashforconstraint (size_t &hashvalue, const int &stop, const Core::FMTmask &dynamicmask) const |
|
bool | isonlygrow (int period=0) const |
|
bool | ismovable (const std::vector< const Core::FMTaction * > &actions, const Core::FMTyields &yields, const int &period, boost::unordered_map< Core::FMTdevelopment, bool > *operability=nullptr) const |
|
bool | operator== (const FMTlinegraph &rhs) const |
|
void | clearnodecache () |
|
std::vector< int > | anyusageof (Core::FMToutputnode output_node, const Models::FMTmodel &model, const int &startingperiod) const |
|
| FMTgraph () |
|
| FMTgraph (const FMTgraphbuild lbuildtype) |
|
| FMTgraph (const FMTgraph &rhs) |
|
virtual | ~FMTgraph ()=default |
|
void | swap (FMTgraph &rhs) |
|
FMTgraph & | operator= (const FMTgraph &rhs) |
|
bool | operator== (const FMTgraph &rhs) const |
|
bool | operator!= (const FMTgraph &rhs) const |
|
void | clearcache () |
|
void | cleardevelopments () |
|
FMTgraphbuild | getbuildtype () const |
|
void | setbuildtype (const FMTgraphbuild &build) |
|
boost::unordered_set< Core::FMTlookup< FMTvertex_descriptor, Core::FMTdevelopment > > | getdevsset (const int &period) const |
|
bool | containsdevelopment (const Core::FMTdevelopment &development, const boost::unordered_set< Core::FMTlookup< FMTvertex_descriptor, Core::FMTdevelopment > > &alldevs) const |
|
std::queue< FMTvertex_descriptor > | initialize (const std::vector< Core::FMTactualdevelopment > &actdevelopments) |
|
FMTgraphstats | build (const Models::FMTmodel &model, std::queue< FMTvertex_descriptor > actives, int compressageoperability=1) |
|
bool | isnotransfer (const FMTvertex_descriptor &descriptor, size_t outcount=0) const |
|
double | getinproportion (const FMTvertex_descriptor &vertex_descriptor) const |
|
double | getinproportion (const FMTvertex_descriptor &vertex_descriptor) const |
|
FMTgraphstats | naturalgrowth (std::queue< FMTvertex_descriptor > actives, FMTgraphstats statsdiff, bool typeIImatrix=false, bool splitgrowth=false) |
|
std::vector< const Core::FMTdevelopment * > | nochoice (const Core::FMTmask &basemask, const int &death_id) const |
|
void | getvariablenames (const std::vector< Core::FMTaction > &actions, std::vector< std::string > &colnames) const |
|
void | gettransferrownames (std::vector< std::string > &rownames) const |
|
std::vector< Core::FMTactualdevelopment > | getperiodstopdev (const int location, const double *actual_solution) const |
|
std::map< std::string, double > | getoutput (const Models::FMTmodel &model, const Core::FMToutput &output, int period, const double *solution, Core::FMToutputlevel level=Core::FMToutputlevel::standard) const |
|
FMTvertex_descriptor | getdevelopment (const Core::FMTdevelopment &developement, const boost::unordered_set< Core::FMTlookup< FMTvertex_descriptor, Core::FMTdevelopment > > &alldevs) const |
|
const Core::FMTdevelopment & | getdevelopment (const FMTvertex_descriptor &descriptor) const |
|
FMTvertex_descriptor | adddevelopment (const Core::FMTfuturdevelopment &futurdevelopement, boost::unordered_set< Core::FMTlookup< FMTvertex_descriptor, Core::FMTdevelopment > > &alldevs, bool forcenewone=false) |
|
FMTvertex_descriptor | adddevelopment (const Core::FMTfuturdevelopment &futurdevelopement) |
|
size_t | hash (size_t seed=0) const |
|
void | addaction (const int &actionID, FMTgraphstats &statsdiff, std::queue< FMTvertex_descriptor > &actives, const FMTvertex_descriptor &out_vertex, const std::vector< Core::FMTdevelopmentpath > &paths, boost::unordered_set< Core::FMTlookup< FMTvertex_descriptor, Core::FMTdevelopment > > &devsets, bool inserie=false) |
|
void | addaction (const int &actionID, FMTgraphstats &statsdiff, std::queue< FMTvertex_descriptor > &actives, const FMTvertex_descriptor &out_vertex, const std::vector< Core::FMTdevelopmentpath > &paths) |
|
double | outarea (const FMTvertex_descriptor &out_vertex, const int &actionID, const double *&solution) const |
|
double | outarea (const FMTvertex_descriptor &out_vertex, const int &actionID, const double *&solution) const |
|
FMTvertex_descriptor | getgrowthsource (const FMTvertex_descriptor &out_vertex) const |
|
std::vector< FMTvertex_descriptor > | getactionsources (const FMTvertex_descriptor &out_vertex, const int &actionid) const |
|
double | inarea (const FMTvertex_descriptor &out_vertex, const double *&solution, int actionid=-1, bool growth=false) const |
|
double | inarea (const FMTvertex_descriptor &out_vertex, const double *&solution, int actionid, bool growth) const |
|
bool | periodstart (const FMTvertex_descriptor &out_vertex) const |
|
bool | onlypertiodstart (const FMTvertex_descriptor &out_vertex) const |
|
int | getmaximalock (const int &period) |
|
bool | periodstop (const FMTvertex_descriptor &out_vertex) const |
|
std::vector< Core::FMTdevelopmentpath > | getpaths (const FMTvertex_descriptor &out_vertex, const int &actionID) const |
|
std::vector< Core::FMTdevelopmentpath > | getpaths (const FMTvertex_descriptor &out_vertex, const int &actionID) const |
|
bool | isvalidouputnode (const Models::FMTmodel &model, const Core::FMToutputnode &node, std::vector< const Core::FMTaction * > &action_IDS, int period) const |
|
bool | isvalidgraphnode (const Models::FMTmodel &model, const FMTvertex_descriptor &vertex_descriptor, const Core::FMToutputnode &node, const std::vector< const Core::FMTaction * > &selected) const |
|
std::map< int, double > | locatenode (const Models::FMTmodel &model, Core::FMToutputnode output_node, int period) const |
|
std::map< std::string, std::map< int, double > > | locatenodebytheme (const Models::FMTmodel &model, Core::FMToutputnode output_node, int period) const |
|
std::vector< FMTvertex_descriptor > | getnode (const Models::FMTmodel &model, Core::FMToutputnode &output_node, int period) const |
|
std::map< int, double > | getvariables (const Models::FMTmodel &model, const Core::FMToutputnode &output_node, const std::vector< FMTvertex_descriptor > &verticies) const |
|
std::map< int, double > | getvariables (const Models::FMTmodel &model, const Core::FMToutputnode &output_node, const std::vector< FMTvertex_descriptor > &verticies) const |
|
bool | isanyoperables (const FMTvertex_descriptor &descriptor, const std::vector< bool > &actionsop) const noexcept |
|
bool | anyoperables (const FMTvertex_descriptor &descriptor, const std::vector< int > &action_ids) const |
|
std::vector< int > | getinvariables (const FMTvertex_descriptor &out_vertex) const |
|
std::vector< double > | getinproportions (const FMTvertex_descriptor &out_vertex) const |
|
std::map< int, int > | getinidsvariables (const FMTvertex_descriptor &out_vertex) const |
|
std::map< int, int > | getoutvariables (const FMTvertex_descriptor &out_vertex) const |
|
std::map< int, int > | getoutvariables (const FMTvertex_descriptor &out_vertex) const |
|
std::vector< int > | getoutactions (const FMTvertex_descriptor &out_vertex) const |
|
std::vector< const Core::FMTaction * > | selectedactions (const Models::FMTmodel &model, const std::vector< int > &action_IDS) const |
|
bool | constraintlenght (const Core::FMTconstraint &constraint, int &start, int &stop) const |
|
FMTgraphstats | getstats () const |
|
FMTgraphstats * | getstatsptr () |
|
void | setstats (const FMTgraphstats &newstats) |
|
FMTgraphstats | buildschedule (const Models::FMTmodel &model, std::queue< FMTvertex_descriptor > actives, const Core::FMTschedule &schedule) |
|
FMTgraphstats | eraseperiod (std::vector< int > &deletedconstraints, std::vector< int > &deletedvariables, bool keepbounded=false) |
|
FMTgraphstats | eraseperiod (std::vector< int > &deletedconstraints, std::vector< int > &deletedvariables, bool keepbounded) |
|
bool | empty () const |
|
std::queue< FMTvertex_descriptor > | getactiveverticies () const |
|
const FMTvertex_pair & | getperiodverticies (int period) const |
|
size_t | size () const |
|
void | setconstraintID (const FMTvertex_descriptor &vertex, const int &id) |
|
void | setconstraintID (const FMTvertex_descriptor &vertex, const int &id) |
|
bool | gettransferrow (const FMTvertex_descriptor &vertex_descriptor, std::vector< int > &row_starts, std::vector< int > &cols, std::vector< double > &cols_value) const |
|
bool | gettransferrow (const FMTvertex_descriptor &vertex_descriptor, std::vector< int > &row_starts, std::vector< int > &cols, std::vector< double > &cols_value) const |
|
void | getinitialbounds (std::vector< double > &lower_bounds, std::vector< double > &upper_bounds) const |
|
size_t | nedges () const |
|
std::vector< FMTvertex_descriptor > | getnodebystaticmask (const Models::FMTmodel &model, const Core::FMToutputnode &node, int period) const |
|
std::map< std::string, double > | getsource (const Models::FMTmodel &model, const Core::FMToutputnode &node, int period, const Core::FMTtheme &theme, const double *solution, Core::FMToutputlevel level=Core::FMToutputlevel::standard) const |
|
Graph::FMTgraphvertextoyield | getvertextoyieldinfo (const Models::FMTmodel &model, const FMTvertex_descriptor &descriptor) const |
|
const FMTvertex_descriptor * | getvertexfromvertexinfo (const Graph::FMTgraphvertextoyield *info) const |
|
std::map< std::string, double > | getvalues (const Models::FMTmodel &model, const std::vector< FMTvertex_descriptor > &verticies, const Core::FMToutputnode &node, const Core::FMTtheme &theme, const double *solution, Core::FMToutputlevel level) const |
|
int | getperiod () const |
|
void | rebasecache () |
|
void | generatedevelopments () |
|
bool | sameedgesas (const FMTgraph &rhs) const |
|
void | updatematrixindex (const std::vector< int > &removedvariables, const std::vector< int > &removedconstraints) |
|
void | updatematrixindex (const std::vector< int > &removedvariables, const std::vector< int > &removedconstraints) |
|
int | getfirstactiveperiod () const |
|
FMTinedge_iterator | getlastdisturbance (FMTinedge_iterator activeedge, int &periodtolastdisturbance) const |
|
void | filluplastactions (const int &targetperiod, const FMTvertex_descriptor &targetdescriptor, std::vector< const FMTbaseedgeproperties * > &lastactions, std::vector< int > &distances, const size_t &depth) const |
|
size_t | getamountofpaths (const Core::FMTdevelopment &dev, const int &actionid, const Models::FMTmodel &model, const boost::unordered_set< Core::FMTlookup< FMTvertex_descriptor, Core::FMTdevelopment > > &actualperioddevs) const |
|
std::vector< Core::FMTaction >::const_iterator | getactionoffirstserie (const FMTvertex_descriptor &targetdescriptor, std::vector< Core::FMTaction >::const_iterator theaction, const size_t &seriemaxsize, const std::vector< Core::FMTaction > &actions) const |
|
bool | keepforserie (const FMTvertex_descriptor &targetdescriptor, std::vector< Core::FMTaction >::const_iterator theaction, const size_t &seriemaxsize, const std::vector< Core::FMTaction > &actions, bool &onserie) const |
|
std::vector< std::string > | getactionserie (FMTvertex_descriptor targetdescriptor, const size_t &maxactions, const std::vector< Core::FMTaction > &actions) const |
|
std::set< Core::FMTSerie > | getallseries (FMTvertex_descriptor targetdescriptor, const std::string &seriestarter, const std::vector< Core::FMTaction > &actions, const std::unordered_set< int > &actionselected, const Core::FMTmask &mask) const |
|
size_t | timesincelastaction (const FMTvertex_descriptor &targetdescriptor) const |
|
std::vector< FMTpredictor > | getpredictors (const FMTvertex_descriptor &targetdescriptor, const Models::FMTmodel &model, const std::vector< std::string > &yieldnames, const size_t &depth, bool periodonevalues=false, bool withGCBMid=true) const |
|
int | getfirstperiod () const |
|
void | postsolve (const Core::FMTmaskfilter &filter, const std::vector< Core::FMTtheme > &originalbasethemes, const std::vector< int > &actionmapconnection) |
|
Core::FMTschedule | getschedule (const std::vector< Core::FMTaction > &actions, const double *actual_solution, const int &lperiod, bool withlock=false) const |
|
std::set< Core::FMTSerie > | getrorations (const Models::FMTmodel &model, const Core::FMTmask &mask, const std::string &aggregate) const |
|
Core::FMTschedule | getoutvariablesproportions (const std::vector< Core::FMTaction > &actions, const double *actual_solution, const int &lperiod, bool withlock=false) const |
|
| operator std::string () const |
|
| FMTobject () |
|
virtual | ~FMTobject () |
|
| FMTobject (const std::shared_ptr< Exception::FMTexceptionhandler > exhandler) |
|
| FMTobject (const FMTobject &rhs) |
|
FMTobject & | operator= (const FMTobject &rhs) |
|
virtual void | passinlogger (const std::shared_ptr< Logging::FMTlogger > &logger) |
|
void | passinexceptionhandler (const std::shared_ptr< Exception::FMTexceptionhandler > &exhandler) |
|
void | redirectlogtofile (const std::string &location) |
|
virtual void | setdefaultlogger () |
|
virtual void | setquietlogger () |
|
virtual void | settasklogger () |
|
virtual void | setdebuglogger () |
|
void | setdefaultexceptionhandler () |
|
void | setquietexceptionhandler () |
|
void | setdebugexceptionhandler () |
|
void | setfreeexceptionhandler () |
|
void | disablenestedexceptions () |
|
void | enablenestedexceptions () |
|
void | seterrorstowarnings (const std::vector< Exception::FMTexc > &errors) |
|
void | setmaxwarningsbeforesilenced (const size_t &maxwarningcount) |
|