Functions | Variables
process_shonan_timing_results Namespace Reference

Functions

def make_combined_plot (name, p_values, times, costs, min_cost_range=10)
 
def make_convergence_plot (name, p_values, times, costs, iter=10)
 
def make_eigen_and_bound_plot (name, p_values, times1, costPs, cost3s, times2, min_eigens, subounds)
 

Variables

 args = parser.parse_args()
 
 cost3s
 
 costPs
 
 domain = os.path.abspath(args.path)
 
list file_path = []
 
 min_eigens
 
 name_file = None
 
dictionary names = {}
 
 p_values
 
 parser = argparse.ArgumentParser()
 
 reader = csv.reader(csvfile, delimiter='\t')
 
 subounds
 
 times1
 
 times2
 

Detailed Description

Process timing results from timeShonanAveraging

Function Documentation

◆ make_combined_plot()

def process_shonan_timing_results.make_combined_plot (   name,
  p_values,
  times,
  costs,
  min_cost_range = 10 
)
Make a plot that combines timing and SO(3) cost.
    Arguments:
        name: string of the plot title
        p_values: list of p-values (int)
        times: list of timings (seconds)
        costs: list of costs (double)
    Will calculate the range of the costs, default minimum range = 10.0

Definition at line 12 of file process_shonan_timing_results.py.

◆ make_convergence_plot()

def process_shonan_timing_results.make_convergence_plot (   name,
  p_values,
  times,
  costs,
  iter = 10 
)
Make a bar that show the success rate for each p_value according to whether the SO(3) cost converges
    Arguments:
        name: string of the plot title
        p_values: list of p-values (int)
        times: list of timings (seconds)
        costs: list of costs (double)
        iter: int of iteration number for each p_value

Definition at line 40 of file process_shonan_timing_results.py.

◆ make_eigen_and_bound_plot()

def process_shonan_timing_results.make_eigen_and_bound_plot (   name,
  p_values,
  times1,
  costPs,
  cost3s,
  times2,
  min_eigens,
  subounds 
)
Make a plot that combines time for optimizing, time for optimizing and compute min_eigen,
    min_eigen, subound (subound = (f_R - f_SDP) / f_SDP).
    Arguments:
        name: string of the plot title
        p_values: list of p-values (int)
        times1: list of timings (seconds)
        costPs: f_SDP
        cost3s: f_R
        times2: list of timings (seconds)
        min_eigens: list of min_eigen (double)
        subounds: list of subound (double)

Definition at line 95 of file process_shonan_timing_results.py.

Variable Documentation

◆ args

process_shonan_timing_results.args = parser.parse_args()

Definition at line 163 of file process_shonan_timing_results.py.

◆ cost3s

process_shonan_timing_results.cost3s

Definition at line 198 of file process_shonan_timing_results.py.

◆ costPs

process_shonan_timing_results.costPs

Definition at line 198 of file process_shonan_timing_results.py.

◆ domain

process_shonan_timing_results.domain = os.path.abspath(args.path)

Definition at line 167 of file process_shonan_timing_results.py.

◆ file_path

list process_shonan_timing_results.file_path = []

Definition at line 166 of file process_shonan_timing_results.py.

◆ min_eigens

process_shonan_timing_results.min_eigens

Definition at line 198 of file process_shonan_timing_results.py.

◆ name_file

process_shonan_timing_results.name_file = None

Definition at line 190 of file process_shonan_timing_results.py.

◆ names

dictionary process_shonan_timing_results.names = {}

Definition at line 175 of file process_shonan_timing_results.py.

◆ p_values

process_shonan_timing_results.p_values

Definition at line 198 of file process_shonan_timing_results.py.

◆ parser

process_shonan_timing_results.parser = argparse.ArgumentParser()

Definition at line 161 of file process_shonan_timing_results.py.

◆ reader

process_shonan_timing_results.reader = csv.reader(csvfile, delimiter='\t')

Definition at line 200 of file process_shonan_timing_results.py.

◆ subounds

process_shonan_timing_results.subounds

Definition at line 198 of file process_shonan_timing_results.py.

◆ times1

process_shonan_timing_results.times1

Definition at line 198 of file process_shonan_timing_results.py.

◆ times2

process_shonan_timing_results.times2

Definition at line 198 of file process_shonan_timing_results.py.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:27