GraphReaderBrite (cloudsim 3.1-SNAPSHOT API)

org.cloudbus.cloudsim.network

## Class GraphReaderBrite

- java.lang.Object
- - org.cloudbus.cloudsim.network.GraphReaderBrite

- All Implemented Interfaces:
    GraphReaderIF

      public class GraphReaderBrite
      extends Object
      implements GraphReaderIF

  This class is just an file-reader for the special brite-format! the brite-file is structured as followed: Node-section: NodeID, xpos, ypos, indegree, outdegree, ASid, type(router/AS) Edge-section: EdgeID, fromNode, toNode, euclideanLength, linkDelay, linkBandwith, AS_from, AS_to, type
  Since:
    CloudSim Toolkit 1.0
  Author:
    Thomas Hohnstein

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GraphReaderBrite()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `TopologicalGraph` | `readGraphFile(String filename)` this method just reads the file and creates an TopologicalGraph object

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GraphReaderBrite

          public GraphReaderBrite()

  - ### Method Detail

    - #### readGraphFile

          public TopologicalGraph readGraphFile(String filename)
                                         throws IOException

      this method just reads the file and creates an TopologicalGraph object
      Specified by:
        `readGraphFile` in interface `GraphReaderIF`
      Parameters:
        `filename` - name of the file to read
      Returns:
        created TopologicalGraph
      Throws:
        `IOException`

Copyright © 2013 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.