Open
Graph Drawing
Framework

 v.2012.05
 

simple_graph_load.h File Reference

Declaration of simple graph loaders. More...

Go to the source code of this file.

Namespaces

namespace  ogdf
 The namespace for all OGDF objects.

Defines

#define OGDF_SIMPLE_GRAPH_LOAD_H

Functions

OGDF_EXPORT bool ogdf::loadRomeGraphStream (Graph &G, std::istream &fileStream)
 Loads a graph in the Rome-Graph-format from the given stream.
OGDF_EXPORT bool ogdf::loadRomeGraph (Graph &G, const char *fileName)
 Loads a graph in the Rome-Graph-format from the specified file.
OGDF_EXPORT bool ogdf::loadChacoStream (Graph &G, std::istream &fileStream)
 Reads the chaco (graph partitioning) file format (usually a .graph file) from a stream.
OGDF_EXPORT bool ogdf::loadChacoGraph (Graph &G, const char *fileName)
 Reads the chaco (graph partitioning) file format (usually a .graph file).
OGDF_EXPORT bool ogdf::loadSimpleGraphStream (Graph &G, std::istream &fileStream)
 Loads a graph in a simple format.
OGDF_EXPORT bool ogdf::loadSimpleGraph (Graph &G, const char *fileName)
 Loads a graph in the simple format from the specified file.
OGDF_EXPORT bool ogdf::loadYGraph (Graph &G, FILE *lineStream)
 Loads a graph in the Y-graph-format from the given stream (one line).
OGDF_EXPORT bool ogdf::loadBenchHypergraphStream (Graph &G, List< node > &hypernodes, List< edge > *shell, std::istream &fileStream)
 Loads a hypergraph in the BENCH-format from the given stream.
OGDF_EXPORT bool ogdf::loadBenchHypergraph (Graph &G, List< node > &hypernodes, List< edge > *shell, const char *fileName)
 Loads a hypergraph in the BENCH-format from the specified file.
OGDF_EXPORT bool ogdf::loadPlaHypergraphStream (Graph &G, List< node > &hypernodes, List< edge > *shell, std::istream &fileStream)
 Loads a hypergraph in the PLA-format from the given stream.
OGDF_EXPORT bool ogdf::loadPlaHypergraph (Graph &G, List< node > &hypernodes, List< edge > *shell, const char *fileName)
 Loads a hypergraph in the PLA-format from the specified file.
OGDF_EXPORT bool ogdf::loadEdgeListSubgraph (Graph &G, List< edge > &delEdges, const char *fileName)
 Loads graph G with subgraph defined by delEdges from file fileName.
OGDF_EXPORT bool ogdf::loadEdgeListSubgraph (Graph &G, List< edge > &delEdges, istream &is)
 Loads graph G with subgraph defined by delEdges from stream is.
OGDF_EXPORT bool ogdf::saveEdgeListSubgraph (const Graph &G, const List< edge > &delEdges, const char *fileName)
 Writes graph G with subgraph defined by delEdges to file fileName.
OGDF_EXPORT bool ogdf::saveEdgeListSubgraph (const Graph &G, const List< edge > &delEdges, ostream &os)
 Writes graph G with subgraph defined by delEdges to stream os.
OGDF_EXPORT bool ogdf::loadChallengeGraph (Graph &G, GridLayout &gl, const char *fileName)
 Loads a graph G with layout gl stored in GD-Challenge-format from file fileName.
OGDF_EXPORT bool ogdf::loadChallengeGraph (Graph &G, GridLayout &gl, istream &is)
 Loads a graph G with layout gl stored in GD-Challenge-format from stream is.
OGDF_EXPORT bool ogdf::saveChallengeGraph (const Graph &G, const GridLayout &gl, const char *fileName)
 Writes graph G with layout gl in GD-Challenge-format to file fileName.
OGDF_EXPORT bool ogdf::saveChallengeGraph (const Graph &G, const GridLayout &gl, ostream &os)
 Writes graph G with layout gl in GD-Challenge-format to stream os.

Detailed Description

Declaration of simple graph loaders.

Author:
Markus Chimani, Carsten Gutwenger, Karsten Klein
License:
This file is part of the Open Graph Drawing Framework (OGDF).

Copyright (C). All rights reserved. See README.txt in the root directory of the OGDF installation for details.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation; see the file LICENSE.txt included in the packaging of this file for details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See also:
http://www.gnu.org/copyleft/gpl.html

Definition in file simple_graph_load.h.


Define Documentation

Definition at line 46 of file simple_graph_load.h.