VANET Simulator
 All Classes Functions Variables
Public Member Functions | List of all members
vanetsim.gui.helpers.LogOperations Class Reference
Inheritance diagram for vanetsim.gui.helpers.LogOperations:

Public Member Functions

 LogOperations (LogAnalyser logAnalyser)
 
void run ()
 
void standardAttackMixZones ()
 
void advancedAttackMixZones ()
 
void standardAttackSilentPeriod ()
 
void advancedAttackSilentPeriod ()
 
int getNodeRadius (String nodeID, String header)
 
float[] getKAnonymityInMix (String theNodeID, String log)
 
String readFile (String filePath)
 
String[] readFileAndHeader (String filePath)
 
String readFileWithoutHeader (String filePath)
 
Object[] getDataOfMixZoneLog (String[] file, String mixNodeID, int totalNumberOfAnalysedZones)
 
String getOperation ()
 
void setOperation (String operation)
 
void writeLocationInformationToFile (String header, boolean append)
 

Member Function Documentation

void vanetsim.gui.helpers.LogOperations.advancedAttackMixZones ( )
inline

Advanced attack for mix-zones

void vanetsim.gui.helpers.LogOperations.advancedAttackSilentPeriod ( )
inline

advanced attack for silent periods

Object [] vanetsim.gui.helpers.LogOperations.getDataOfMixZoneLog ( String[]  file,
String  mixNodeID,
int  totalNumberOfAnalysedZones 
)
inline

Analyze traffic data to get information for an attack (for a mix node

float [] vanetsim.gui.helpers.LogOperations.getKAnonymityInMix ( String  theNodeID,
String  log 
)
inline

return k-anonymity of a mix log (for a chosen node id)

int vanetsim.gui.helpers.LogOperations.getNodeRadius ( String  nodeID,
String  header 
)
inline

return the radius of a node written in the header of a log file

String vanetsim.gui.helpers.LogOperations.readFile ( String  filePath)
inline

Method to read a file

String [] vanetsim.gui.helpers.LogOperations.readFileAndHeader ( String  filePath)
inline

Method to read a file. Reads a file and returns the header and the content split in an String array

String vanetsim.gui.helpers.LogOperations.readFileWithoutHeader ( String  filePath)
inline

Method to read a file without the header of the log

void vanetsim.gui.helpers.LogOperations.standardAttackMixZones ( )
inline

Standard attack for mix-zones

void vanetsim.gui.helpers.LogOperations.writeLocationInformationToFile ( String  header,
boolean  append 
)
inline

Writes advanced analyzed information to a file


The documentation for this class was generated from the following file: