Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/CXXGraph/Edge/DirectedEdge_decl.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class DirectedEdge : public Edge<T> {
const std::string &userId,
const std::pair<shared<const Node<T>>, shared<const Node<T>>> &nodepair);
DirectedEdge(const Edge<T> &edge);
virtual ~DirectedEdge() = default;
~DirectedEdge() override = default;
const Node<T> &getFrom() const;
const Node<T> &getTo() const;
const std::optional<bool> isDirected() const override;
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Edge/DirectedWeightedEdge_decl.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class DirectedWeightedEdge : public DirectedEdge<T>, public Weighted {
DirectedWeightedEdge(const DirectedEdge<T> &edge);
DirectedWeightedEdge(const Edge<T> &edge);
DirectedWeightedEdge(const UndirectedWeightedEdge<T> &edge);
virtual ~DirectedWeightedEdge() = default;
~DirectedWeightedEdge() override = default;
const std::optional<bool> isWeighted() const override;
// operator
explicit operator UndirectedWeightedEdge<T>() const {
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Edge/UndirectedEdge_decl.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class UndirectedEdge : public Edge<T> {
const std::string &userId,
const std::pair<shared<const Node<T>>, shared<const Node<T>>> &nodepair);
UndirectedEdge(const Edge<T> &edge);
virtual ~UndirectedEdge() = default;
~UndirectedEdge() override = default;
const Node<T> &getNode1() const;
const Node<T> &getNode2() const;
const std::optional<bool> isDirected() const override;
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Edge/UndirectedWeightedEdge_decl.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class UndirectedWeightedEdge : public UndirectedEdge<T>, public Weighted {
UndirectedWeightedEdge(const UndirectedEdge<T> &edge);
UndirectedWeightedEdge(const Edge<T> &edge);
UndirectedWeightedEdge(const DirectedWeightedEdge<T> &edge);
virtual ~UndirectedWeightedEdge() = default;
~UndirectedWeightedEdge() override = default;
const std::optional<bool> isWeighted() const override;
// operator
explicit operator DirectedWeightedEdge<T>() const {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class CoordinatedPartitionState : public PartitionState<T> {
// DatWriter out; //to print the final partition of each edge
public:
CoordinatedPartitionState(const Globals &G);
~CoordinatedPartitionState();
~CoordinatedPartitionState() override;

std::shared_ptr<Record<T>> getRecord(CXXGraph::id_t x) override;
int getMachineLoad(const int m) const override;
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/CoordinatedRecord.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class CoordinatedRecord : public Record<T> {

public:
CoordinatedRecord();
~CoordinatedRecord();
~CoordinatedRecord() override;

const std::set<int> &getPartitions() const override;
void addPartition(const int m) override;
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/EBV.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class EBV : public PartitionStrategy<T> {

public:
explicit EBV(const Globals &G);
~EBV();
~EBV() override;

void performStep(shared<const Edge<T>> e,
shared<PartitionState<T>> Sstate) override;
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/EdgeBalancedVertexCut.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class EdgeBalancedVertexCut : public PartitionStrategy<T> {

public:
explicit EdgeBalancedVertexCut(const Globals &G);
~EdgeBalancedVertexCut();
~EdgeBalancedVertexCut() override;

void performStep(shared<const Edge<T>> e,
shared<PartitionState<T>> Sstate) override;
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/GreedyVertexCut.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class GreedyVertexCut : public PartitionStrategy<T> {

public:
explicit GreedyVertexCut(const Globals &G);
~GreedyVertexCut();
~GreedyVertexCut() override;

void performStep(shared<const Edge<T>> e,
shared<PartitionState<T>> Sstate) override;
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/HDRF.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class HDRF : public PartitionStrategy<T> {

public:
explicit HDRF(const Globals &G);
~HDRF();
~HDRF() override;

void performStep(shared<const Edge<T>> e,
shared<PartitionState<T>> Sstate) override;
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/Partition.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Partition : public Graph<T> {
explicit Partition(const CXXGraph::id_t partitionId);
explicit Partition(const T_EdgeSet<T> &edgeSet);
Partition(const CXXGraph::id_t partitionId, const T_EdgeSet<T> &edgeSet);
~Partition() = default;
~Partition() override = default;
/**
* @brief Get the Partition ID
*
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/PartitionerThread.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class PartitionerThread : public Runnable {
PartitionerThread(std::vector<shared<const Edge<T>>> &list,
shared<PartitionState<T>> state,
shared<PartitionStrategy<T>> algorithm);
~PartitionerThread();
~PartitionerThread() override;

void run() override;

Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/WeightBalancedLibra.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class WeightBalancedLibra : public PartitionStrategy<T> {
explicit WeightBalancedLibra(
const Globals &G, double _weight_sum_bound,
std::unordered_map<std::size_t, int> &&_vertices_degrees);
~WeightBalancedLibra();
~WeightBalancedLibra() override;

void performStep(shared<const Edge<T>> e,
shared<PartitionState<T>> Sstate) override;
Expand Down
Loading