GraphChi  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros
Classes | Namespaces | Functions
vertex_aggregator.hpp File Reference
#include <errno.h>
#include <memory.h>
#include <string>
#include "graphchi_types.hpp"
#include "api/chifilenames.hpp"
#include "util/ioutil.hpp"

Go to the source code of this file.

Classes

class  graphchi::VCallback< VertexDataType >
class  graphchi::SumCallback< VertexDataType, SumType >

Namespaces

namespace  graphchi

Functions

template<typename VertexDataType >
void graphchi::foreach_vertices (std::string basefilename, vid_t fromv, vid_t tov, VCallback< VertexDataType > &callback)
template<typename VertexDataType , typename SumType >
SumType graphchi::sum_vertices (std::string base_filename, vid_t fromv, vid_t tov)

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

Simple vertex-aggregators/scanners which allows reductions over all vertices in an I/O efficient manner.