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, \
from import run_server
from import ClientStubTAS
from import run_server
from 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.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:
def _run_pandai_server(self):
def _run_ariane_server(self):
......@@ -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