This class defines functions used to load and save graphs using GAL and GWT formats, both formats use a ' ' as separator. More...
#include "../../common/Exception.h"
#include "../../common/Translator.h"
#include "../../common/progress/TaskProgress.h"
#include "../../dataaccess/datasource/DataSource.h"
#include "../../dataaccess/utils/Utils.h"
#include "../../datatype/SimpleData.h"
#include "../../datatype/SimpleProperty.h"
#include "../../geometry/GeometryProperty.h"
#include "../../geometry/MultiPolygon.h"
#include "../../geometry/Point.h"
#include "../../geometry/Polygon.h"
#include "../../graph/core/AbstractGraph.h"
#include "../../graph/core/AbstractGraphFactory.h"
#include "../../graph/core/GraphMetadata.h"
#include "../../graph/core/Edge.h"
#include "../../graph/core/Vertex.h"
#include "../../graph/iterator/AbstractIterator.h"
#include "../../graph/iterator/SequenceIterator.h"
#include "../../graph/iterator/MemoryIterator.h"
#include "../../graph/Globals.h"
#include "GeneralizedProximityMatrix.h"
#include "SpatialWeightsExchanger.h"
#include <cassert>
#include <fstream>
#include <iosfwd>
#include <stdio.h>
#include <boost/tokenizer.hpp>
Go to the source code of this file.
This class defines functions used to load and save graphs using GAL and GWT formats, both formats use a ' ' as separator.
GAL FORMAT
0 NUMBER_OBSERVATIONS DATASET_NAME ATTRIBUTE_ID_NAME (HEADER LINE) OBSERVATION_ID NUMBER_NEIGHBOURS NEIGHBOURS_1 NEIGHBOURS_2 ... NEIGHBOURS_N OBSERVATION_ID NUMBER_NEIGHBOURS NEIGHBOURS_1 NEIGHBOURS_2 ... NEIGHBOURS_N ...
GWT FORMAT
0 NUMBER_OBSERVATIONS DATASET_NAME ATTRIBUTE_ID_NAME (HEADER LINE) OBSERVATION_ID_FROM OBSERVATION_ID_TO DISTANCE OBSERVATION_ID_FROM OBSERVATION_ID_TO DISTANCE OBSERVATION_ID_FROM OBSERVATION_ID_TO DISTANCE ...
Definition in file SpatialWeightsExchanger.cpp.