This commit is contained in:
2013-12-08 20:49:17 +01:00
commit 546acd105b
76 changed files with 654 additions and 0 deletions

25
Huffman/HElement.h Normal file
View File

@@ -0,0 +1,25 @@
#pragma once
#include "DataSet.h"
class HElement
{
public:
HElement(bool status, DataSet left , DataSet right );
HElement(bool status, DataSet in_core );
HElement(DataSet single);
virtual ~HElement(void);
bool isconcrete();
HElement * getleft_p ();
HElement * getright_p ();
DataSet getcore();
private:
bool concrete;
HElement * left_p;
HElement * right_p;
DataSet core;
};