GraphChi  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros
Classes | Namespaces | Macros | Functions
conversions.hpp File Reference
#include <fcntl.h>
#include <unistd.h>
#include "graphchi_types.hpp"
#include "logger/logger.hpp"
#include "preprocessing/sharder.hpp"

Go to the source code of this file.

Classes

class  graphchi::SharderPreprocessor< EdgeDataType >
struct  graphchi::vertex_degree
class  graphchi::OrderByDegree< EdgeDataType >

Namespaces

namespace  graphchi

Macros

#define VARIABLE_IS_NOT_USED

Functions

template<typename T >
void graphchi::parse (PairContainer< T > &x, const char *s)
template<typename T >
void graphchi::parse (T &x, const char *s)
template<typename EdgeDataType >
void graphchi::convert_edgelist (std::string inputfile, sharder< EdgeDataType > &sharderobj)
template<typename EdgeDataType >
void graphchi::convert_adjlist (std::string inputfile, sharder< EdgeDataType > &sharderobj)
template<typename EdgeDataType >
int graphchi::convert (std::string basefilename, std::string nshards_string, SharderPreprocessor< EdgeDataType > *preprocessor=NULL)
template<typename EdgeDataType >
int graphchi::convert_if_notexists (std::string basefilename, std::string nshards_string, SharderPreprocessor< EdgeDataType > *preprocessor=NULL)
bool graphchi::vertex_degree_less (const vertex_degree &a, const vertex_degree &b)

Detailed Description

Author:
Aapo Kyrola akyro.nosp@m.la@c.nosp@m.s.cmu.nosp@m..edu
Version:
1.0

LICENSE

Copyright [2012] [Aapo Kyrola, Guy Blelloch, Carlos Guestrin / Carnegie Mellon University]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

DESCRIPTION

Graph conversion and parsing routines.


Macro Definition Documentation

#define VARIABLE_IS_NOT_USED

GNU COMPILER HACK TO PREVENT WARNINGS "Unused variable", if the particular app being compiled does not use a function.