00001 #pragma once 00002 #include <iostream> 00003 using namespace std; 00004 namespace Recognition{ 00005 /*** node for use in class Matrix 00006 * connects to other mNodes to the top, bottom, left, and right 00007 * */ 00008 class mNode 00009 { 00010 public: 00011 00012 mNode(double x) 00013 { 00014 t=NULL; 00015 b=NULL; 00016 l=NULL; 00017 r=NULL; 00018 value=x; 00019 00020 } 00021 mNode *t; 00022 mNode *b; 00023 mNode *l; 00024 mNode *r; 00025 double value; 00026 }; 00027 }