Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb86f51

Browse files
committed
- Removed metrics from DC
- Commented out compilation blockers in CMakeLists (schedulers in particular) - Added vertex_type and edge_type to graph2 - Removed references to graph1 and graph_storage_noedge - Removed all references to color
1 parent e214935 commit eb86f51

13 files changed

Lines changed: 129 additions & 2693 deletions

src/graphlab/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if (MPI_FOUND)
2626
endif()
2727

2828
add_library(graphlab STATIC
29-
options/command_line_options.cpp
29+
# options/command_line_options.cpp
3030
options/options_map.cpp
3131
util/timer.cpp
3232
util/generics/any.cpp
@@ -36,7 +36,7 @@ add_library(graphlab STATIC
3636
parallel/pthread_tools.cpp
3737
parallel/thread_pool.cpp
3838
util/random.cpp
39-
scheduler/scheduler_list.cpp
39+
#scheduler/scheduler_list.cpp
4040
util/net_util.cpp
4141
util/safe_circular_char_buffer.cpp
4242
util/fs_util.cpp

src/graphlab/graph/distributed_graph.hpp

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ namespace graphlab {
8686

8787
/// The type of a vertex is a simple size_t
8888
typedef graphlab::vertex_id_type vertex_id_type;
89-
/// Type for vertex colors
90-
typedef graphlab::vertex_color_type vertex_color_type;
9189

9290
enum SizeType {MAX_MACHINES = 128};
9391
typedef fixed_dense_bitset<MAX_MACHINES> mirror_type;
@@ -593,13 +591,6 @@ namespace graphlab {
593591
/** \brief Get the size of replica */
594592
size_t num_replicas() const { return nreplicas; }
595593

596-
/** Return the color of a vertex */
597-
vertex_color_type color(vertex_id_type vid) const {
598-
//TODO: IMPLEMENT
599-
logstream(LOG_FATAL) << "Color not implemented" << std::endl;
600-
return -1;
601-
}
602-
603594
//! Get the rerverse edge
604595
edge_type reverse_edge(const edge_type& edge) const {
605596
//TODO: IMPLEMENT
@@ -863,7 +854,7 @@ namespace graphlab {
863854

864855
/** \brief Load the graph from an archive */
865856
void load(iarchive& arc) {
866-
// read the vertices and colors
857+
// read the vertices
867858
arc >> nverts
868859
>> nedges
869860
>> local_own_nverts

0 commit comments

Comments
 (0)