-
Notifications
You must be signed in to change notification settings - Fork 0
/
AF.h
44 lines (37 loc) · 838 Bytes
/
AF.h
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
/*
* AF.h
*
* Created on: 13/mag/2013
* Author: valla
*/
#ifndef GRAPH_H_
#define GRAPH_H_
#include <map>
#include <fstream>
#include <iostream>
#include "Argument.h"
class SetArguments;
class SetArgumentsIterator;
using namespace std;
class AF
{
SetArguments *arguments;
//vector<pair<int, int> > raw_attacks;
//map<Argument *, SetArguments *> attacks;
//map<Argument *, SetArguments *> attackers;
public:
AF();
AF(const AF& gamma);
virtual ~AF();
bool readFile(string file);
int numArgs();
Argument *getArgumentByName(string);
Argument *getArgumentByNumber(int position);
SetArguments *get_arguments() const;
SetArgumentsIterator begin();
SetArgumentsIterator end();
AF reduceAF(SetArguments I);
};
ostream& operator<<(ostream& out, const AF& framework);
#include "SetArguments.h"
#endif /* GRAPH_H_ */