Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
dyn_tune.dynamic_tuner.dynamic_tuner Class Reference

Public Member Functions

def __init__ (self, param_set, value_set, real_bag_file, sim_bag_file, src_topic, dst_topic, start_signal={}, end_signal={}, resolution=0.1, objective=None)
 
def get_params_desc (self, param_list)
 
def read_default_config (self)
 
def tune_params (self, config={})
 
def update_params (self, param_list)
 

Static Public Attributes

 bag
 
 res = self._objective(value_map)
 
 value_map = resample(bag, self._value_set, resolution = self._resolution)
 

Private Member Functions

def _evaluate (self, config)
 

Private Attributes

 _dst_topic
 
 _end_signal
 
 _param_set
 
 _params_desc
 
 _real_bag_file
 
 _resolution
 
 _sim_bag_file
 
 _src_topic
 
 _start_signal
 
 _value_set
 

Static Private Attributes

string _dst_topic = ''
 
dictionary _end_signal = {}
 
 _objective = None
 
 _optimizer = None
 
list _param_set = []
 
dictionary _params_desc = {}
 
string _real_bag_file = ''
 
float _resolution = 0.1
 
string _sim_bag_file = ''
 
string _src_topic = ''
 
dictionary _start_signal = {}
 
list _value_set = []
 

Detailed Description

Definition at line 401 of file dynamic_tuner.py.

Constructor & Destructor Documentation

def dyn_tune.dynamic_tuner.dynamic_tuner.__init__ (   self,
  param_set,
  value_set,
  real_bag_file,
  sim_bag_file,
  src_topic,
  dst_topic,
  start_signal = {},
  end_signal = {},
  resolution = 0.1,
  objective = None 
)

Definition at line 437 of file dynamic_tuner.py.

Member Function Documentation

def dyn_tune.dynamic_tuner.dynamic_tuner._evaluate (   self,
  config 
)
private

Definition at line 561 of file dynamic_tuner.py.

def dyn_tune.dynamic_tuner.dynamic_tuner.get_params_desc (   self,
  param_list 
)

Definition at line 523 of file dynamic_tuner.py.

def dyn_tune.dynamic_tuner.dynamic_tuner.read_default_config (   self)

Definition at line 516 of file dynamic_tuner.py.

def dyn_tune.dynamic_tuner.dynamic_tuner.tune_params (   self,
  config = {} 
)

Definition at line 474 of file dynamic_tuner.py.

def dyn_tune.dynamic_tuner.dynamic_tuner.update_params (   self,
  param_list 
)

Definition at line 482 of file dynamic_tuner.py.

Member Data Documentation

string dyn_tune.dynamic_tuner.dynamic_tuner._dst_topic = ''
staticprivate

Definition at line 411 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner._dst_topic
private

Definition at line 451 of file dynamic_tuner.py.

dictionary dyn_tune.dynamic_tuner.dynamic_tuner._end_signal = {}
staticprivate

Definition at line 414 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner._end_signal
private

Definition at line 454 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner._objective = None
staticprivate

Definition at line 418 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner._optimizer = None
staticprivate

Definition at line 422 of file dynamic_tuner.py.

list dyn_tune.dynamic_tuner.dynamic_tuner._param_set = []
staticprivate

Definition at line 404 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner._param_set
private

Definition at line 444 of file dynamic_tuner.py.

dictionary dyn_tune.dynamic_tuner.dynamic_tuner._params_desc = {}
staticprivate

Definition at line 420 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner._params_desc
private

Definition at line 461 of file dynamic_tuner.py.

string dyn_tune.dynamic_tuner.dynamic_tuner._real_bag_file = ''
staticprivate

Definition at line 407 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner._real_bag_file
private

Definition at line 447 of file dynamic_tuner.py.

float dyn_tune.dynamic_tuner.dynamic_tuner._resolution = 0.1
staticprivate

Definition at line 416 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner._resolution
private

Definition at line 456 of file dynamic_tuner.py.

string dyn_tune.dynamic_tuner.dynamic_tuner._sim_bag_file = ''
staticprivate

Definition at line 408 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner._sim_bag_file
private

Definition at line 448 of file dynamic_tuner.py.

string dyn_tune.dynamic_tuner.dynamic_tuner._src_topic = ''
staticprivate

Definition at line 410 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner._src_topic
private

Definition at line 450 of file dynamic_tuner.py.

dictionary dyn_tune.dynamic_tuner.dynamic_tuner._start_signal = {}
staticprivate

Definition at line 413 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner._start_signal
private

Definition at line 453 of file dynamic_tuner.py.

list dyn_tune.dynamic_tuner.dynamic_tuner._value_set = []
staticprivate

Definition at line 405 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner._value_set
private

Definition at line 445 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner.bag
static
Initial value:
1 = start_simulation( self._real_bag_file,
2  self._sim_bag_file,
3  self._src_topic,
4  self._dst_topic,
5  values = self._value_set,
6  start_signal = self._start_signal,
7  end_signal = self._end_signal )

Definition at line 577 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner.res = self._objective(value_map)
static

Definition at line 597 of file dynamic_tuner.py.

dyn_tune.dynamic_tuner.dynamic_tuner.value_map = resample(bag, self._value_set, resolution = self._resolution)
static

Definition at line 587 of file dynamic_tuner.py.


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


dyn_tune
Author(s):
autogenerated on Mon Jun 10 2019 13:03:17