LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::sens::SensOptions Struct Reference

The name-value contract of getSensitivityTable. More...

#include <line/solvers/sens/solver_sens_table.h>

Collaboration diagram for line::sens::SensOptions:

Public Attributes

std::string method = "auto"
 auto | exact | fd
std::string scheme = "forward"
 forward | central
double step = -1.0
 Relative step of the rate perturbation; negative selects the default.
bool simulation = false
 True when the callback is a simulator, which widens the default step.
std::function< void(std::size_t, std::size_t)> replicate
 Replication hook of the tuned simulator central branch: (k, npairs) before a solve of pair k, (0, 0) to restore.

Detailed Description

The name-value contract of getSensitivityTable.

Definition at line 76 of file solver_sens_table.h.

Member Data Documentation

◆ method

std::string line::sens::SensOptions::method = "auto"

auto | exact | fd

Definition at line 77 of file solver_sens_table.h.

◆ replicate

std::function<void(std::size_t, std::size_t)> line::sens::SensOptions::replicate

Replication hook of the tuned simulator central branch: (k, npairs) before a solve of pair k, (0, 0) to restore.

Empty disables the branch.

Definition at line 87 of file solver_sens_table.h.

Referenced by line::ln::SolverLN< T >::get_sensitivity_table().

◆ scheme

std::string line::sens::SensOptions::scheme = "forward"

forward | central

Definition at line 78 of file solver_sens_table.h.

◆ simulation

bool line::sens::SensOptions::simulation = false

True when the callback is a simulator, which widens the default step.

Definition at line 82 of file solver_sens_table.h.

Referenced by line::ln::SolverLN< T >::get_sensitivity_table().

◆ step

double line::sens::SensOptions::step = -1.0

Relative step of the rate perturbation; negative selects the default.

Definition at line 80 of file solver_sens_table.h.


The documentation for this struct was generated from the following file: