-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLatticeConverter.h
executable file
·27 lines (21 loc) · 1.03 KB
/
LatticeConverter.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
#ifndef LATTICECONVERTER_H
#define LATTICECONVERERT_H
#include <string>
#include "LRL_Cell.h"
class LatticeConverter {
enum eOutputType { etext, emaxima };
private:
eOutputType m_OutputType;
void TextOutput(const std::string& label, const std::string& lattice, const LRL_Cell& cell) const;
void MaximaOutput(const std::string& label, const std::string& lattice, const LRL_Cell& cell) const;
public:
LatticeConverter(const eOutputType type = etext);
void SetOutputMaxima(void);
void SetOutputText(void);
void Output(const std::string& label, const std::string& lattice, const LRL_Cell& cell) const;
LRL_Cell NiggliReduceCell(const std::string& lattice, const LRL_Cell& cell);
void NiggliReducedOutput(const std::string& label, const std::string& lattice, const LRL_Cell& cell);
LRL_Cell DeloneReduceCell(const std::string& lattice, const LRL_Cell& cell);
void DeloneReducedOutput(const std::string& label, const std::string& lattice, const LRL_Cell& cell);
};
#endif //LATTICECONVERTER_H