Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACCELERA - Enum constant in enum class it.unisa.diem.ai.torcs.model.Label
-
Accelerazione forte
- accelerate - Variable in class it.unisa.diem.ai.torcs.model.Action
-
Valore di accelerazione (range: 0..1)
- Action - Class in it.unisa.diem.ai.torcs.model
-
Rappresenta un'azione di controllo da inviare al simulatore TORCS.
- Action() - Constructor for class it.unisa.diem.ai.torcs.model.Action
- addSample(Sample) - Method in class it.unisa.diem.ai.torcs.model.Dataset
-
Aggiunge un campione al dataset.
- ANGLE_TO_TRACK_AXIS - Enum constant in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Angolo tra l'asse del veicolo e l'asse centrale della pista
- AutonomousDriver - Class in it.unisa.diem.ai.torcs.agent
-
AutonomousDriver è un agente di guida autonoma per TORCS.
- AutonomousDriver() - Constructor for class it.unisa.diem.ai.torcs.agent.AutonomousDriver
-
Costruttore: carica i dataset, li normalizza e inizializza i classificatori.
B
- BaseDriver - Class in it.unisa.diem.ai.torcs.agent
-
Classe base per i driver di guida autonoma o manuale in TORCS.
- BaseDriver() - Constructor for class it.unisa.diem.ai.torcs.agent.BaseDriver
-
Costruttore di default.
- brake - Variable in class it.unisa.diem.ai.torcs.model.Action
-
Valore di frenata (range: 0..1)
- brake - Static variable in class it.unisa.diem.ai.torcs.model.KeyInput
-
Stato del tasto 'Spazio' (freno premuto = true)
C
- classify(Sample, int) - Method in class it.unisa.diem.ai.torcs.classifier.NearestNeighbor
-
Classifica un punto di test usando la maggioranza tra i k vicini più prossimi.
- Client - Class in it.unisa.diem.ai.torcs.io
- Client() - Constructor for class it.unisa.diem.ai.torcs.io.Client
- close() - Method in class it.unisa.diem.ai.torcs.io.SocketHandler
-
Chiude il socket e termina la comunicazione.
- clutch - Variable in class it.unisa.diem.ai.torcs.model.Action
-
Valore della frizione (range: 0..1)
- ContinuousCharReaderUI - Class in it.unisa.diem.ai.torcs.io
-
Interfaccia grafica minimale per il controllo manuale dell’auto in TORCS.
- ContinuousCharReaderUI() - Constructor for class it.unisa.diem.ai.torcs.io.ContinuousCharReaderUI
-
Costruttore dell’interfaccia.
- control(SensorModel) - Method in class it.unisa.diem.ai.torcs.agent.AutonomousDriver
-
Metodo principale di controllo, chiamato ad ogni ciclo di simulazione.
- control(SensorModel) - Method in class it.unisa.diem.ai.torcs.agent.Controller
-
Metodo principale di controllo da implementare nelle sottoclassi.
- control(SensorModel) - Method in class it.unisa.diem.ai.torcs.agent.HumanDriver
-
Metodo principale di controllo del veicolo, basato su input utente.
- control(SensorModel) - Method in class it.unisa.diem.ai.torcs.agent.SimpleDriver
- Controller - Class in it.unisa.diem.ai.torcs.agent
-
Classe astratta base per l'implementazione di un controller per TORCS.
- Controller() - Constructor for class it.unisa.diem.ai.torcs.agent.Controller
- Controller.Stage - Enum Class in it.unisa.diem.ai.torcs.agent
-
Enumerazione che rappresenta i diversi stadi di una gara.
- csvHeader() - Static method in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Costruisce l'intestazione CSV completa con i nomi delle feature + LABEL_CODE e LABEL_NAME.
D
- Dataset - Class in it.unisa.diem.ai.torcs.model
-
Rappresenta un dataset supervisionato composto da oggetti
Sample
. - Dataset() - Constructor for class it.unisa.diem.ai.torcs.model.Dataset
-
Costruttore vuoto: inizializza un dataset senza campioni
- datasetNormalizer(String) - Method in class it.unisa.diem.ai.torcs.model.Dataset
-
Normalizza tutte le feature del dataset e salva il nuovo dataset normalizzato su file CSV.
- DECELERAZIONE - Enum constant in enum class it.unisa.diem.ai.torcs.model.Label
-
Decelerazione o guida neutra
- distanzaEuclidea(FeatureVector) - Method in class it.unisa.diem.ai.torcs.model.FeatureVector
-
Calcola la distanza euclidea tra questo vettore e un altro.
- distanzaEuclidea(Sample) - Method in class it.unisa.diem.ai.torcs.model.Sample
-
Calcola la distanza euclidea tra questo Sample e un altro.
- down - Static variable in class it.unisa.diem.ai.torcs.model.KeyInput
-
Stato del tasto 'S' (retromarcia premuta = true)
E
- extractFeatures(SensorModel) - Method in class it.unisa.diem.ai.torcs.utils.FeatureExtractor
-
Estrae le feature definite in
SensorFeature
a partire da un'istanza diSensorModel
.
F
- FeatureExtractor - Class in it.unisa.diem.ai.torcs.utils
-
Classe responsabile dell'estrazione delle feature (caratteristiche) rilevanti dal modello dei sensori fornito da TORCS.
- FeatureExtractor() - Constructor for class it.unisa.diem.ai.torcs.utils.FeatureExtractor
- FeatureNormalizer - Class in it.unisa.diem.ai.torcs.utils
-
Classe responsabile della normalizzazione dei vettori di feature.
- FeatureNormalizer() - Constructor for class it.unisa.diem.ai.torcs.utils.FeatureNormalizer
- FeatureVector - Class in it.unisa.diem.ai.torcs.model
-
Classe che rappresenta un vettore di feature numeriche (valori Double), utilizzato per descrivere un campione (Sample) nel contesto dell'apprendimento automatico.
- FeatureVector(List<Double>) - Constructor for class it.unisa.diem.ai.torcs.model.FeatureVector
-
Costruttore che crea un FeatureVector copiando una lista di Double.
- findKNearestNeighbors(Sample, int) - Method in class it.unisa.diem.ai.torcs.classifier.NearestNeighbor
-
Trova i k vicini più prossimi rispetto a un punto di test.
- focus - Variable in class it.unisa.diem.ai.torcs.model.Action
-
Angolo di messa a fuoco per i sensori opzionali (in gradi, range [-90;90]).
- FRENA - Enum constant in enum class it.unisa.diem.ai.torcs.model.Label
-
Frenata attiva
- fromAction(Action) - Static method in enum class it.unisa.diem.ai.torcs.model.Label
-
Discretizza un'azione continua in una label simbolica, secondo priorità: Retromarcia (gear = -1 e accelerazione > 0) Frenata (brake > 0.1) Sterzata sinistra (steering >= 0.10) Sterzata destra (steering <= -0.10) Accelerazione (accelerate >= 0.9) Altrimenti: Decelerazione
- fromCode(int) - Static method in enum class it.unisa.diem.ai.torcs.model.Label
-
Ricostruisce una label a partire dal suo codice numerico.
- fromInt(int) - Static method in enum class it.unisa.diem.ai.torcs.agent.Controller.Stage
-
Converte un intero nello stadio corrispondente.
G
- gear - Variable in class it.unisa.diem.ai.torcs.model.Action
-
Marcia inserita (range: -1 = retromarcia, 0 = folle, 1..6 = marce)
- get(int) - Method in class it.unisa.diem.ai.torcs.model.FeatureVector
-
Restituisce il valore alla posizione indicata.
- getAngleToTrackAxis() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getAngleToTrackAxis() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getCode() - Method in enum class it.unisa.diem.ai.torcs.model.Label
-
Restituisce il codice numerico associato alla label.
- getCurrentLapTime() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getCurrentLapTime() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getDamage() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getDamage() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getDistanceFromStartLine() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getDistanceFromStartLine() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getDistanceRaced() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getDistanceRaced() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getFeature() - Method in class it.unisa.diem.ai.torcs.model.Sample
- getFocusSensors() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getFocusSensors() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getFuelLevel() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getFuelLevel() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getGear() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getGear() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getInstance() - Static method in class it.unisa.diem.ai.torcs.io.ContinuousCharReaderUI
-
Restituisce l’istanza corrente dell’interfaccia grafica.
- getLabel() - Method in class it.unisa.diem.ai.torcs.model.Sample
- getLastLapTime() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getLastLapTime() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getLateralSpeed() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getLateralSpeed() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getMessage() - Method in class it.unisa.diem.ai.torcs.io.MessageParser
-
Restituisce il messaggio originale grezzo ricevuto dal server.
- getMessage() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getMessage() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getOpponentSensors() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getOpponentSensors() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getRacePosition() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getRacePosition() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getReading(String) - Method in class it.unisa.diem.ai.torcs.io.MessageParser
-
Restituisce il valore associato a una lettura (es.
- getRPM() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getRPM() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getSamples() - Method in class it.unisa.diem.ai.torcs.model.Dataset
-
Restituisce la lista dei campioni nel dataset.
- getSpeed() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getSpeed() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getStage() - Method in class it.unisa.diem.ai.torcs.agent.Controller
-
Restituisce lo stadio corrente della gara.
- getTrackEdgeSensors() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getTrackEdgeSensors() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getTrackName() - Method in class it.unisa.diem.ai.torcs.agent.Controller
-
Restituisce il nome della pista corrente.
- getTrackPosition() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getTrackPosition() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getTrackSensorIndex() - Method in enum class it.unisa.diem.ai.torcs.model.SensorFeature
- getTrackSensorIndices() - Static method in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Restituisce gli indici dei soli sensori di bordo pista utilizzati.
- getTrainingData() - Method in class it.unisa.diem.ai.torcs.classifier.NearestNeighbor
-
Restituisce il dataset di addestramento usato dal classificatore.
- getValues() - Method in class it.unisa.diem.ai.torcs.model.FeatureVector
-
Restituisce una copia della lista di valori del vettore.
- getWheelSpinVelocity() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getWheelSpinVelocity() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getZ() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getZ() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- getZSpeed() - Method in class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
- getZSpeed() - Method in interface it.unisa.diem.ai.torcs.model.SensorModel
- GIRA_DESTRA - Enum constant in enum class it.unisa.diem.ai.torcs.model.Label
-
Sterzata a destra (steering negativo)
- GIRA_SINISTRA - Enum constant in enum class it.unisa.diem.ai.torcs.model.Label
-
Sterzata a sinistra (steering positivo)
H
- HistogramPanel(String, List<Sample>, SensorFeature, int) - Constructor for class it.unisa.diem.ai.torcs.utils.debugging.MultiHistogramFromSamples.HistogramPanel
-
Costruisce un istogramma per una determinata feature.
- HumanDriver - Class in it.unisa.diem.ai.torcs.agent
-
Controller che consente di guidare l'auto in TORCS tramite input da tastiera.
- HumanDriver() - Constructor for class it.unisa.diem.ai.torcs.agent.HumanDriver
-
Costruttore che inizializza i dataset e i moduli di estrazione/normalizzazione.
I
- initAngles() - Method in class it.unisa.diem.ai.torcs.agent.BaseDriver
-
Inizializza l'array di angoli dei sensori di bordo pista.
- initAngles() - Method in class it.unisa.diem.ai.torcs.agent.Controller
-
Inizializza gli angoli dei sensori di distanza (range finder) utilizzati per percepire la pista.
- isDatasetRecordingEnabled() - Method in class it.unisa.diem.ai.torcs.io.ContinuousCharReaderUI
-
Verifica se la registrazione del dataset è attiva (checkbox selezionata).
- it.unisa.diem.ai.torcs.agent - package it.unisa.diem.ai.torcs.agent
- it.unisa.diem.ai.torcs.classifier - package it.unisa.diem.ai.torcs.classifier
- it.unisa.diem.ai.torcs.io - package it.unisa.diem.ai.torcs.io
- it.unisa.diem.ai.torcs.model - package it.unisa.diem.ai.torcs.model
- it.unisa.diem.ai.torcs.utils - package it.unisa.diem.ai.torcs.utils
- it.unisa.diem.ai.torcs.utils.debugging - package it.unisa.diem.ai.torcs.utils.debugging
K
- KeyInput - Class in it.unisa.diem.ai.torcs.model
-
Classe statica per tenere traccia dello stato dei tasti premuti in tempo reale.
- KeyInput() - Constructor for class it.unisa.diem.ai.torcs.model.KeyInput
L
- Label - Enum Class in it.unisa.diem.ai.torcs.model
-
Enum che rappresenta le possibili etichette (azioni discrete) per un campione
Sample
. - LabelDistributionPanel(List<Sample>, String) - Constructor for class it.unisa.diem.ai.torcs.utils.debugging.MultiHistogramFromSamples.LabelDistributionPanel
-
Costruttore del pannello per la distribuzione delle label.
- left - Static variable in class it.unisa.diem.ai.torcs.model.KeyInput
-
Stato del tasto 'A' (sterzata a sinistra premuta = true)
- limitValues() - Method in class it.unisa.diem.ai.torcs.model.Action
-
Applica dei limiti ai valori di controllo per evitare comandi non validi.
- loadFromCSV(String) - Static method in class it.unisa.diem.ai.torcs.model.Dataset
-
Carica un dataset da file CSV.
- loadSamples(String) - Static method in class it.unisa.diem.ai.torcs.utils.debugging.MultiHistogramFromSamples
-
Carica una lista di Sample da un file CSV.
M
- main(String[]) - Static method in class it.unisa.diem.ai.torcs.io.Client
-
Metodo principale che avvia la simulazione.
- main(String[]) - Static method in class it.unisa.diem.ai.torcs.io.ContinuousCharReaderUI
-
Avvia l’interfaccia come applicazione standalone.
- main(String[]) - Static method in class it.unisa.diem.ai.torcs.utils.debugging.MultiHistogramFromSamples
-
Metodo principale.
- MAX_ANGLE_TO_TRACK_AXIS - Static variable in class it.unisa.diem.ai.torcs.utils.FeatureNormalizer
- MAX_SPEED_X - Static variable in class it.unisa.diem.ai.torcs.utils.FeatureNormalizer
- MAX_SPEED_Y - Static variable in class it.unisa.diem.ai.torcs.utils.FeatureNormalizer
- MAX_TRACK_EDGE - Static variable in class it.unisa.diem.ai.torcs.utils.FeatureNormalizer
- MAX_TRACK_POSITION - Static variable in class it.unisa.diem.ai.torcs.utils.FeatureNormalizer
- MessageBasedSensorModel - Class in it.unisa.diem.ai.torcs.model
-
Implementazione dell'interfaccia
SensorModel
basata su parsing di messaggi stringa. - MessageBasedSensorModel(MessageParser) - Constructor for class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
-
Costruttore che riceve un oggetto
MessageParser
già costruito. - MessageBasedSensorModel(String) - Constructor for class it.unisa.diem.ai.torcs.model.MessageBasedSensorModel
-
Costruttore che costruisce internamente il parser partendo da una stringa.
- MessageParser - Class in it.unisa.diem.ai.torcs.io
-
Classe per il parsing dei messaggi ricevuti dal server TORCS.
- MessageParser(String) - Constructor for class it.unisa.diem.ai.torcs.io.MessageParser
-
Costruttore che esegue direttamente il parsing del messaggio.
- MIN_ANGLE_TO_TRACK_AXIS - Static variable in class it.unisa.diem.ai.torcs.utils.FeatureNormalizer
-
Angolo rispetto all’asse pista (in radianti, range [-π, π]).
- MIN_SPEED_X - Static variable in class it.unisa.diem.ai.torcs.utils.FeatureNormalizer
-
Velocità longitudinale minima e massima dell’auto (speedX, in km/h).
- MIN_SPEED_Y - Static variable in class it.unisa.diem.ai.torcs.utils.FeatureNormalizer
-
Velocità laterale minima e massima dell’auto (speedY, in km/h).
- MIN_TRACK_EDGE - Static variable in class it.unisa.diem.ai.torcs.utils.FeatureNormalizer
-
Valore minimo e massimo atteso per i sensori di bordo pista (track edge sensors).
- MIN_TRACK_POSITION - Static variable in class it.unisa.diem.ai.torcs.utils.FeatureNormalizer
-
Posizione laterale sulla pista (track position ∈ [-1, 1]).
- MultiHistogramFromSamples - Class in it.unisa.diem.ai.torcs.utils.debugging
-
Classe per la visualizzazione di istogrammi multipli a partire da un dataset di Sample.
- MultiHistogramFromSamples() - Constructor for class it.unisa.diem.ai.torcs.utils.debugging.MultiHistogramFromSamples
- MultiHistogramFromSamples.HistogramPanel - Class in it.unisa.diem.ai.torcs.utils.debugging
-
Pannello Swing che disegna un istogramma per una specifica feature.
- MultiHistogramFromSamples.LabelDistributionPanel - Class in it.unisa.diem.ai.torcs.utils.debugging
-
Pannello Swing che mostra la distribuzione delle etichette (label) in un dataset.
N
- NearestNeighbor - Class in it.unisa.diem.ai.torcs.classifier
-
Implementazione semplice dell'algoritmo Nearest Neighbor (KNN) utilizzando un KD-Tree per una ricerca efficiente dei vicini.
- NearestNeighbor(Dataset) - Constructor for class it.unisa.diem.ai.torcs.classifier.NearestNeighbor
-
Costruttore che inizializza il classificatore con il dataset di addestramento.
- normalize(FeatureVector) - Method in class it.unisa.diem.ai.torcs.utils.FeatureNormalizer
-
Applica la normalizzazione Min-Max al vettore di feature fornito, restituendo un nuovo oggetto
FeatureVector
con valori nel range [0, 1].
P
- paintComponent(Graphics) - Method in class it.unisa.diem.ai.torcs.utils.debugging.MultiHistogramFromSamples.HistogramPanel
-
Disegna l'istogramma sul pannello.
- paintComponent(Graphics) - Method in class it.unisa.diem.ai.torcs.utils.debugging.MultiHistogramFromSamples.LabelDistributionPanel
-
Disegna la distribuzione delle label come istogramma.
- paintComponent(Graphics) - Method in class it.unisa.diem.ai.torcs.utils.debugging.RadarVisualizer
-
Metodo chiamato automaticamente per disegnare il componente radar.
- printAll() - Method in class it.unisa.diem.ai.torcs.io.MessageParser
-
Stampa tutte le letture presenti nella tabella.
Q
- QUALIFYING - Enum constant in enum class it.unisa.diem.ai.torcs.agent.Controller.Stage
-
Fase di qualifica
R
- RACE - Enum constant in enum class it.unisa.diem.ai.torcs.agent.Controller.Stage
-
Fase di gara principale
- RadarVisualizer - Class in it.unisa.diem.ai.torcs.utils.debugging
-
Classe per visualizzare graficamente i sensori di bordo pista (track edge sensors) in una rappresentazione tipo radar.
- RadarVisualizer() - Constructor for class it.unisa.diem.ai.torcs.utils.debugging.RadarVisualizer
- receive() - Method in class it.unisa.diem.ai.torcs.io.SocketHandler
-
Riceve un messaggio dal server (bloccante, senza timeout).
- receive(int) - Method in class it.unisa.diem.ai.torcs.io.SocketHandler
-
Riceve un messaggio dal server con timeout specificato (in millisecondi).
- reset() - Method in class it.unisa.diem.ai.torcs.agent.AutonomousDriver
-
Metodo chiamato al reset della simulazione.
- reset() - Method in class it.unisa.diem.ai.torcs.agent.BaseDriver
-
Messaggio al reset della simulazione.
- reset() - Method in class it.unisa.diem.ai.torcs.agent.Controller
-
Chiamato all'inizio di ogni nuova prova per reimpostare lo stato interno.
- reset() - Method in class it.unisa.diem.ai.torcs.agent.HumanDriver
-
Metodo chiamato a ogni reset del simulatore.
- reset() - Method in class it.unisa.diem.ai.torcs.model.Action
-
Reimposta l'azione a valori di default (tutti i comandi disattivati).
- restartRace - Variable in class it.unisa.diem.ai.torcs.model.Action
-
Se true, richiede il riavvio della gara
- RETROMARCIA - Enum constant in enum class it.unisa.diem.ai.torcs.model.Label
-
Retromarcia attiva
- right - Static variable in class it.unisa.diem.ai.torcs.model.KeyInput
-
Stato del tasto 'D' (sterzata a destra premuta = true)
S
- Sample - Class in it.unisa.diem.ai.torcs.model
-
Rappresenta un campione etichettato composto da un vettore di feature e da una
Label
. - Sample(FeatureVector, Label) - Constructor for class it.unisa.diem.ai.torcs.model.Sample
-
Costruttore base: crea un nuovo Sample con feature e label specificate.
- Sample(String) - Constructor for class it.unisa.diem.ai.torcs.model.Sample
-
Costruttore che crea un Sample a partire da una riga CSV.
- saveToCSV(String) - Method in class it.unisa.diem.ai.torcs.model.Dataset
-
Salva il dataset in un file CSV, includendo intestazione e tutti i campioni.
- send(String) - Method in class it.unisa.diem.ai.torcs.io.SocketHandler
-
Invia un messaggio stringa al server.
- SensorFeature - Enum Class in it.unisa.diem.ai.torcs.model
-
Enumerazione che rappresenta un sottoinsieme di sensori selezionati dal modello TORCS.
- SensorModel - Interface in it.unisa.diem.ai.torcs.model
-
Interfaccia che definisce il contratto per l’accesso ai dati dei sensori in TORCS.
- set(int, Double) - Method in class it.unisa.diem.ai.torcs.model.FeatureVector
-
Imposta un valore in una determinata posizione.
- setStage(Controller.Stage) - Method in class it.unisa.diem.ai.torcs.agent.Controller
-
Imposta lo stadio corrente della gara.
- setTrackName(String) - Method in class it.unisa.diem.ai.torcs.agent.Controller
-
Imposta il nome della pista.
- setValues(List<Double>) - Method in class it.unisa.diem.ai.torcs.model.FeatureVector
-
Imposta i valori del vettore, sostituendo quelli esistenti.
- showRadar(RadarVisualizer) - Static method in class it.unisa.diem.ai.torcs.utils.debugging.RadarVisualizer
-
Mostra una finestra Swing con il pannello radar.
- shuffle() - Method in class it.unisa.diem.ai.torcs.model.Dataset
-
Mescola casualmente l'ordine dei campioni nel dataset.
- shutdown() - Method in class it.unisa.diem.ai.torcs.agent.AutonomousDriver
-
Metodo chiamato alla chiusura della simulazione.
- shutdown() - Method in class it.unisa.diem.ai.torcs.agent.BaseDriver
-
Messaggio alla chiusura della simulazione.
- shutdown() - Method in class it.unisa.diem.ai.torcs.agent.Controller
-
Chiamato una sola volta alla chiusura del controller.
- shutdown() - Method in class it.unisa.diem.ai.torcs.agent.HumanDriver
-
Metodo chiamato alla chiusura della simulazione.
- SimpleDriver - Class in it.unisa.diem.ai.torcs.agent
- SimpleDriver() - Constructor for class it.unisa.diem.ai.torcs.agent.SimpleDriver
- size() - Method in class it.unisa.diem.ai.torcs.model.Dataset
-
Restituisce il numero totale di campioni presenti nel dataset.
- size() - Method in class it.unisa.diem.ai.torcs.model.FeatureVector
-
Restituisce la dimensione del vettore.
- SocketHandler - Class in it.unisa.diem.ai.torcs.io
- SocketHandler(String, int, boolean) - Constructor for class it.unisa.diem.ai.torcs.io.SocketHandler
-
Costruttore del SocketHandler.
- SPEED_X - Enum constant in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Velocità lungo l'asse X del veicolo
- SPEED_Y - Enum constant in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Velocità laterale lungo l'asse Y del veicolo
- steering - Variable in class it.unisa.diem.ai.torcs.model.Action
-
Valore di sterzo (range: -1 = sinistra massima, 0 = dritto, 1 = destra massima)
T
- toCSV() - Method in class it.unisa.diem.ai.torcs.model.Sample
-
Converte questo Sample in una riga CSV.
- toString() - Method in class it.unisa.diem.ai.torcs.model.Action
-
Converte l'azione in stringa nel formato richiesto dal protocollo TORCS.
- toString() - Method in class it.unisa.diem.ai.torcs.model.FeatureVector
-
Restituisce una rappresentazione testuale del vettore.
- toString() - Method in enum class it.unisa.diem.ai.torcs.model.Label
-
Restituisce una stringa leggibile per la label.
- toString() - Method in enum class it.unisa.diem.ai.torcs.model.SensorFeature
- TRACK_EDGE_SENSOR_10 - Enum constant in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Sensore di distanza al bordo della pista in posizione 10
- TRACK_EDGE_SENSOR_12 - Enum constant in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Sensore di distanza al bordo della pista in posizione 12
- TRACK_EDGE_SENSOR_14 - Enum constant in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Sensore di distanza al bordo della pista in posizione 14
- TRACK_EDGE_SENSOR_4 - Enum constant in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Sensore di distanza al bordo della pista in posizione 4 (tra -90° e +90°)
- TRACK_EDGE_SENSOR_6 - Enum constant in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Sensore di distanza al bordo della pista in posizione 6
- TRACK_EDGE_SENSOR_8 - Enum constant in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Sensore di distanza al bordo della pista in posizione 8
- TRACK_EDGE_SENSOR_9 - Enum constant in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Sensore di distanza al bordo della pista in posizione 9
- TRACK_POSITION - Enum constant in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Posizione laterale sulla pista rispetto al centro (range [-1, 1])
U
- UNKNOWN - Enum constant in enum class it.unisa.diem.ai.torcs.agent.Controller.Stage
-
Stato sconosciuto o non definito
- up - Static variable in class it.unisa.diem.ai.torcs.model.KeyInput
-
Stato del tasto 'W' (accelerazione premuta = true)
- updateSensors(double[]) - Method in class it.unisa.diem.ai.torcs.utils.debugging.RadarVisualizer
-
Aggiorna i valori dei sensori e ridisegna il radar.
V
- valueOf(String) - Static method in enum class it.unisa.diem.ai.torcs.agent.Controller.Stage
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class it.unisa.diem.ai.torcs.model.Label
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class it.unisa.diem.ai.torcs.agent.Controller.Stage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class it.unisa.diem.ai.torcs.model.Label
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class it.unisa.diem.ai.torcs.model.SensorFeature
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WARMUP - Enum constant in enum class it.unisa.diem.ai.torcs.agent.Controller.Stage
-
Fase di riscaldamento (warm-up)
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form