CXXGraph
0.4.0
CXXGraph is a header only, that manages the Graphs and it's algorithm in C++
include
Partitioning
PartitionStrategy.hpp
1
/***********************************************************/
2
/*** ______ ____ ______ _ ***/
3
/*** / ___\ \/ /\ \/ / ___|_ __ __ _ _ __ | |__ ***/
4
/*** | | \ / \ / | _| '__/ _` | '_ \| '_ \ ***/
5
/*** | |___ / \ / \ |_| | | | (_| | |_) | | | | ***/
6
/*** \____/_/\_\/_/\_\____|_| \__,_| .__/|_| |_| ***/
7
/*** |_| ***/
8
/***********************************************************/
9
/*** Header-Only C++ Library for Graph ***/
10
/*** Representation and Algorithms ***/
11
/***********************************************************/
12
/*** Author: ZigRazor ***/
13
/*** E-Mail: zigrazor@gmail.com ***/
14
/***********************************************************/
15
/*** Collaboration: ----------- ***/
16
/***********************************************************/
17
/*** License: MPL v2.0 ***/
18
/***********************************************************/
19
20
#ifndef __CXXGRAPH_PARTITIONING_PARTITIONSTRATEGY_H__
21
#define __CXXGRAPH_PARTITIONING_PARTITIONSTRATEGY_H__
22
23
#pragma once
24
25
#include "Edge/Edge.hpp"
26
#include "PartitionState.hpp"
27
28
namespace
CXXGRAPH
29
{
30
namespace
PARTITIONING
31
{
32
template
<
typename
T>
33
class
PartitionStrategy
34
{
35
public
:
36
virtual
void
performStep(
const
Edge<T>
&t,
PartitionState<T>
&Sstate) = 0;
37
};
38
}
39
}
40
41
#endif
// __CXXGRAPH_PARTITIONING_PARTITIONSTRATEGY_H__
CXXGRAPH::Edge
Definition:
Edge.hpp:39
CXXGRAPH::PARTITIONING::PartitionState
Definition:
PartitionState.hpp:33
CXXGRAPH::PARTITIONING::PartitionStrategy
Definition:
PartitionStrategy.hpp:34
Generated by
1.9.1