Commit 194ce332 authored by Mario Teixeira Parente's avatar Mario Teixeira Parente
Browse files

rename 'pandai' to 'ariane'

parent 37076de1
......@@ -4,20 +4,20 @@ from lib.general.benchmarking import CostMeasure
from lib.tas.benchmarking import AngleMapInducedMetric, TASAutonomousApproach, \
TASTestCase
from ddd_auton_discov.app.tas import run_server
from ddd_auton_discov.app.tas.client_stub import ClientStubTAS
from ariane.app.tas import run_server
from ariane.app.tas.client_stub import ClientStubTAS
from threading import Thread
from time import sleep
from typing import Tuple
class PANDAIApproach(TASAutonomousApproach):
class ARIANEApproach(TASAutonomousApproach):
def __init__(self, random_seed: int) -> None:
super().__init__("approach_pandai", random_seed)
super().__init__("approach_ariane", random_seed)
self.port = 11657 + self.id
self.thread_server = Thread(target=self._run_pandai_server, daemon=True)
self.thread_server = Thread(target=self._run_ariane_server, daemon=True)
self.thread_server_started = False
self.num_kernel_optim_restarts = 100
......@@ -69,7 +69,7 @@ class PANDAIApproach(TASAutonomousApproach):
def finalize(self) -> None:
self.client.finalize()
def _run_pandai_server(self):
def _run_ariane_server(self):
run_server(num_kernel_optim_restarts=self.num_kernel_optim_restarts,
kernel_bounds_variance=self.kernel_bounds_variance,
kernel_bounds_length_scales=self.kernel_bounds_length_scales,
......
......@@ -10,7 +10,7 @@ from lib.tas.benchmarking import AngleMap, AngleMapInducedMetric, \
import sys
# TODO: Import a subclass of `TASAutonomousApproach`.
from tas.pandai import PANDAIApproach as Approach
from tas.ariane import ARIANEApproach as Approach
# from tas.dummies import RandomnessApproach as Approach
# from tas.dummies import GridApproach as Approach
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment