00001 #include "PartitionTree.hpp" 00002 00003 #include <stack> 00004 00005 using namespace indii::ml::aux; 00006 00007 PartitionTree::PartitionTree() : p(NULL) { 00008 // 00009 } 00010 00011 PartitionTree::PartitionTree(DiracMixturePdf* p) : p(p) { 00012 // 00013 } 00014 00015 PartitionTree::~PartitionTree() { 00016 // 00017 } 00018 00019 void PartitionTree::setData(DiracMixturePdf* p) { 00020 /* pre-condition */ 00021 assert (this->p->getSize() == p->getSize()); 00022 00023 this->p = p; 00024 } 00025
1.5.3