NetOptim 1.2.8
Loading...
Searching...
No Matches
ClockScheduleOracle< Graph, Mapping > Class Template Reference

Oracle for minimum-period / maximum-yield clock skew scheduling. More...

#include <css_oracle.hpp>

Public Member Functions

 ClockScheduleOracle (const Graph &gra, Mapping &dist)
 Construct a new clock-schedule oracle.
auto assess_optim (const Vec &x, double &gamma) -> std::tuple< Cut, bool >
 Assess optimality at x = (TCP, beta) (cutting-plane interface).
auto operator() (const Vec &x, double &gamma) -> std::tuple< Cut, bool >
 Function call operator for cutting_plane_optim().

Detailed Description

template<typename Graph, typename Mapping>
class ClockScheduleOracle< Graph, Mapping >

Oracle for minimum-period / maximum-yield clock skew scheduling.

Node potentials are the clock arrival times; the iterate is \(x = (\mathrm{TCP}, \beta)\) and the objective is \(\min \mathrm{TCP} / \beta\) subject to the timing constraint graph being feasible. The graph's edges are netoptim_detail::timing_edge; a negative cycle, if any, supplies the separating cutting plane.

A negative cycle at \(x\) gives the cut \((g, f)\) with \(f = -\sum_{e \in C} w(e)\) and \(g = (-\#\{\text{setup edges}\}, |C|)\).

Template Parameters
GraphType of the directed graph (edge = netoptim_detail::timing_edge)
MappingType of the vertex potential mapping

Constructor & Destructor Documentation

◆ ClockScheduleOracle()

template<typename Graph, typename Mapping>
ClockScheduleOracle< Graph, Mapping >::ClockScheduleOracle ( const Graph & gra,
Mapping & dist )
inline

Construct a new clock-schedule oracle.

Parameters
[in]graa directed graph (V, E) representing the timing constraints
[in,out]distvertex potential mapping (updated during operation)

Member Function Documentation

◆ assess_optim()

template<typename Graph, typename Mapping>
auto ClockScheduleOracle< Graph, Mapping >::assess_optim ( const Vec & x,
double & gamma )->std::tuple< Cut, bool >
inline

Assess optimality at x = (TCP, beta) (cutting-plane interface).

Parameters
[in]xthe current iterate (TCP, beta)
[in,out]gammabest-so-far value of TCP / beta
Returns
tuple of (cutting plane, whether gamma improved)

◆ operator()()

template<typename Graph, typename Mapping>
auto ClockScheduleOracle< Graph, Mapping >::operator() ( const Vec & x,
double & gamma )->std::tuple< Cut, bool >
inline

Function call operator for cutting_plane_optim().

Parameters
[in]xthe current iterate (TCP, beta)
[in,out]gammabest-so-far value of TCP / beta
Returns
tuple of (cutting plane, whether gamma improved)

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