TCPSPSuite
Public Member Functions | Static Public Member Functions | List of all members
EarlyScheduler Class Reference

A Solver for a TCPSP instance. More...

#include <earlyscheduler.hpp>

Public Member Functions

 EarlyScheduler (const Instance &instance, AdditionalResultStorage &additional, const SolverConfig &sconf)
 
void run ()
 
Solution get_solution ()
 
Maybe< double > get_lower_bound ()
 

Static Public Member Functions

static std::string get_id ()
 
static const Traits & get_requirements ()
 

Detailed Description

A Solver for a TCPSP instance.

This solver creates a topologically sorting of all jobs. It tries to run every job as early as possible

Constructor & Destructor Documentation

◆ EarlyScheduler()

EarlyScheduler::EarlyScheduler ( const Instance instance,
AdditionalResultStorage &  additional,
const SolverConfig &  sconf 
)

Constructs a new solver for a TCPSP instance

Parameters
instance_inThe TCPSP instance that should be solved
additionalstorage for additional data (unused)
sconfThe configuration of this Solver (unused)

Member Function Documentation

◆ get_id()

std::string EarlyScheduler::get_id ( )
static

Returns the unique name of the solver

Returns
the unique name of the solver

◆ get_lower_bound()

Maybe< double > EarlyScheduler::get_lower_bound ( )

Returns the lower bound found by this solver

Returns
the lower bound found by this solver

◆ get_requirements()

const Traits & EarlyScheduler::get_requirements ( )
static

Returns the traits required by this solver

Returns
the required traits

◆ get_solution()

Solution EarlyScheduler::get_solution ( )

Returns the solution of this Solver

Returns
the solution of this Solver

◆ run()

void EarlyScheduler::run ( )

Calculates the result of this solver


The documentation for this class was generated from the following files: