-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPython.h
34 lines (26 loc) · 785 Bytes
/
Python.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
#ifndef PYTHON_H
#define PYTHON_H
#include <stdlib.h>
#include <iostream>
#include <ctime>
#include <fstream>
#include <iterator>
#include "Partition.h"
#include "DimVec.h"
#include "DimVecBank.h"
#include "DimVecAnalyser.h"
class PythonEngine : public dim_vec::vector_of_ptr
{
std::ofstream myfile;
const dim_vec_layer_analyser* pAnalyser;
public:
void Init(const dim_vec_layer_analyser& analyser) { pAnalyser = &analyser; }
bool Python2DInit();
void Python2D(const int_partition_bank& thePartnBank, const int_partition_layer::vector_of_ptr_bin& dots, char col, char mark);
bool Python3DInit();
void PythonAxis(nat idx, char var);
void Python3D(char col, char mark);
void PythonEnd();
void GetDimVecs(const dim_vec_pred pred);
};
#endif