#include <data.h>
  
 Signals | |
| void | setStatus (QString s) | 
Public Member Functions | |
| Data (Graph *g, QString nPath=0, QString ePath=0, QString gPath=0) | |
| virtual | ~Data (void) | 
| virtual void | initGraph () | 
Protected Member Functions | |
| QPointF | randomPoint () | 
| double | random () | 
Protected Attributes | |
| FileParser * | input | 
| Graph * | graph | 
| QString | nodePath | 
| QString | edgePath | 
| QString | groupPath | 
Super class for all Data Objects Data objects are responsible for generating a graph from the datasets read from the files specified by the passed filenames
      
  | 
  inline | 
Constructor for a Data object
| g | pointer to graph that is to be filled with data | 
| nPath | String denoting the path to the file containing the graph's nodes | 
| ePath | String denoting the path to the file containing the graph's edges | 
| ePath | String denoting the path to the file containing the graph's group //this property is currently unused | 
      
  | 
  inlinevirtual | 
Destructor for a Data object
      
  | 
  inlinevirtual | 
initGraph() calls the method for graph generation from the data files
Reimplemented in MarvelData, FlightData, and MiserablesData.
      
  | 
  inlineprotected | 
returns a random value between 0.05 and 0.95
      
  | 
  inlineprotected | 
returns a random data point with coordinates between 0.05 and 0.95
      
  | 
  signal | 
signal to notify the main window's status bar of the progress of graph generation
 1.8.7