-
Notifications
You must be signed in to change notification settings - Fork 0
/
THyperRow.h
45 lines (37 loc) · 1.16 KB
/
THyperRow.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
45
/*
* File: ATRow.h
* Author: ivek
*
* Created on January 21, 2012, 5:27 PM
*/
#ifndef THYPERROW_H
#define THYPERROW_H
#include "UpdateFunctionDelegator.h"
#include "VertexProxy.h"
#include <vector>
class THyperRow : public UpdateFunctionDelegator {
public:
THyperRow();
THyperRow(const THyperRow& orig);
~THyperRow();
UpdateFunctionDelegator* clone();
void accept(VertexVisitor& v, gl::iscope& scope, gl::icallback& schedule);
void updateFunction(gl::iscope& scope, gl::icallback& scheduler);
element_type* aValues; /* Order: ascending indices */
element_type* bValues; /* Order: ascending indices */
// std::vector<element_type> aValues; /* Order: ascending indices */
// std::vector<element_type> bValues; /* Order: ascending indices */
};
class THyperRowWrapper : public VertexProxy {
public:
THyperRowWrapper(){
this->essence = new THyperRow();
}
THyperRowWrapper(const THyperRowWrapper& orig) {
this->essence = orig.essence->clone();
};
~THyperRowWrapper() {
delete(this->essence);
}
};
#endif /* THYPERROW_H */