forked from awsirkis/nemoStaticLib2.1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSubgraphEnumerationResult.h
More file actions
50 lines (37 loc) · 1.15 KB
/
Copy pathSubgraphEnumerationResult.h
File metadata and controls
50 lines (37 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: SubgraphEnumerationREsult.h
* Author: Wooyoung
*
* Created on October 18, 2017, 4:34 PM
*/
#ifndef SUBGRAPHENUMERATIONRESULT_H
#define SUBGRAPHENUMERATIONRESULT_H
/*This class is an interface class*/
#include "Subgraph.h"
#include "NautyLink.h"
using std::cout;
using std::ostream;
#include "HASH_MAP.h"
class SubgraphEnumerationResult {
public:
SubgraphEnumerationResult(){};
virtual ~SubgraphEnumerationResult(){};
/**
* Adds a Subgraph to this SubgraphEnumerationResult
* @param currentSubgraph a Subgraph to add to this
* SubgraphEnumerationResult
*/
virtual void add(Subgraph&, NautyLink&)=0;
/**
* Calculates and returns a map of relative frequencies or concentrations
* of labels in this subgraph.
* @return The map of relative frequencies
*/
virtual HASH_MAP <graph64, double> getRelativeFrequencies()=0;
};
#endif /* SUBGRAPHENUMERATIONRESULT_H */