Package | Description |
---|---|
com.svv.cbr | |
com.svv.trafficcbr | |
com.svv.util |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<TrafficSituationCase> |
TrafficSituation.getCasesMatchingQuery(TrafficSituationCase queryCase)
Retrieves the cases that matches the query case.
|
java.util.ArrayList<TrafficSituationCase> |
Cbr.getMatchingCases(TrafficSituationCase queryCase)
Initializes the retrieval of cases that matches the query
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<TrafficSituationCase> |
TrafficSituation.getCasesMatchingQuery(TrafficSituationCase queryCase)
Retrieves the cases that matches the query case.
|
java.util.ArrayList<TrafficSituationCase> |
Cbr.getMatchingCases(TrafficSituationCase queryCase)
Initializes the retrieval of cases that matches the query
|
java.lang.String |
Cbr.getSolutionCase(TrafficSituationCase queryCase)
Runs the method for retrieving the cases that matches the query, and runs the method for finding the best one in the set of retrieved cases.
|
void |
Cbr.retain(TrafficSituationCase newTrafficSituationCase)
Is activated if an expert decides to save a query case as a new case in the case base.
|
void |
TrafficSituation.saveCaseToXML(TrafficSituationCase trafficSituationCase)
Saves a case to XML (case base is stored in XML format).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Cbr.findBestTrafficSituationCase(java.util.ArrayList<TrafficSituationCase> trafficSituationCases)
Finds the best case out of a list of cases by looking at their similarity to the query case
|
Modifier and Type | Method and Description |
---|---|
void |
TrafficLightSimulator.displayCases(TrafficSituationCase query,
java.util.ArrayList<TrafficSituationCase> trafficCases)
Display the query case and the retrieved cases in the table
|
void |
Activator.retain(TrafficSituationCase newTrafficSituationCase)
Initiates the process of storing a new traffic situation case, based on the available traffic data.
|
Modifier and Type | Method and Description |
---|---|
void |
TrafficLightSimulator.displayCases(TrafficSituationCase query,
java.util.ArrayList<TrafficSituationCase> trafficCases)
Display the query case and the retrieved cases in the table
|
Modifier and Type | Method and Description |
---|---|
TrafficSituationCase |
CaseBuilder.createCase(double valueTrafficFlow,
boolean valueVehicleDetected,
double valueSpeedOfDetectedVehicle,
double valuePositiveIntentions,
double valueWaitingTime,
java.lang.String pedestrianType)
Convert nominal data to a case with continuous data
|
TrafficSituationCase |
TrafficEventHandler.getTrafficQuery()
Use all data stored from the sensors and build a query case
|
TrafficSituationCase |
QueryBuilder.getTrafficQuery() |
TrafficSituationCase |
Query.getTrafficQuery() |
Modifier and Type | Method and Description |
---|---|
static void |
ReadTrafficData.storeQueryAndSolution(TrafficSituationCase query,
java.util.ArrayList<TrafficSituationCase> solutionCases,
double solution)
Store query and the solution when the traffic light change.
|
Modifier and Type | Method and Description |
---|---|
static void |
ReadTrafficData.storeQueryAndSolution(TrafficSituationCase query,
java.util.ArrayList<TrafficSituationCase> solutionCases,
double solution)
Store query and the solution when the traffic light change.
|
Constructor and Description |
---|
AddToXml(TrafficSituationCase trafficSituationCase) |