GraphChi 0.1

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros
Classes | Namespaces | Macros | Enumerations | Functions
sharder.hpp File Reference
`#include <iostream>`
`#include <cstdio>`
`#include <fcntl.h>`
`#include <unistd.h>`
`#include <vector>`
`#include <omp.h>`
`#include <errno.h>`
`#include <sstream>`
`#include <string>`
`#include "graphchi_types.hpp"`
`#include "api/chifilenames.hpp"`
`#include "api/graphchi_context.hpp"`
`#include "io/stripedio.hpp"`
`#include "shards/slidingshard.hpp"`
`#include "shards/memoryshard.hpp"`
`#include "logger/logger.hpp"`
`#include "util/ioutil.hpp"`
`#include "util/qsort.hpp"`
`#include "metrics/metrics.hpp"`
`#include "metrics/reps/basic_reporter.hpp"`

Go to the source code of this file.

## Classes
struct | graphchi::edge_with_value< EdgeDataType >
class | graphchi::sharder< EdgeDataType >

## Namespaces
namespace | graphchi

## Macros
#define | SHARDER_BUFSIZE (64 * 1024 * 1024)

## Enumerations
enum | ProcPhase { COMPUTE_INTERVALS = 1, SHOVEL = 2 }

## Functions
template<typename EdgeDataType >
bool | graphchi::edge_t_src_less (const edge_with_value< EdgeDataType > &a, const edge_with_value< EdgeDataType > &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

Sharder converts a graph into shards which the GraphChi engine can process.