GraphChi  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros
Classes | Namespaces | Macros | Functions
graph_objects.hpp File Reference
#include <vector>
#include <assert.h>
#include <omp.h>
#include <string.h>
#include "graphchi_types.hpp"
#include "util/qsort.hpp"

Go to the source code of this file.

Classes

class  graphchi::graphchi_edge< EdgeDataType >
class  graphchi::internal_graphchi_vertex< VertexDataType, EdgeDataType >
class  graphchi::graphchi_vertex< VertexDataType, EdgeDataType >

Namespaces

namespace  graphchi

Macros

#define VARIABLE_IS_NOT_USED
#define HIGHMASK   (1 + (2147483647 >> 1))
#define CLEARMASK   (2147483647 >> 1)

Functions

template<typename ET >
bool graphchi::eptr_less (const graphchi_edge< ET > &a, const graphchi_edge< ET > &b)
vid_t graphchi::translate_edge (vid_t rawid, bool &is_special)
vid_t graphchi::make_special (vid_t rawid)
bool graphchi::is_special (vid_t rawid)

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

Vertex and Edge objects.


Macro Definition Documentation

#define HIGHMASK   (1 + (2147483647 >> 1))

Experimental code

#define VARIABLE_IS_NOT_USED

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