MESSAGE
DATE | 2016-11-03 |
FROM | Ruben Safir
|
SUBJECT | Subject: [Learn] Fitch algorithm from the beginning
|
From learn-bounces-at-nylxs.com Thu Nov 3 01:31:15 2016 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www.mrbrklyn.com (www.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id B4DED161312; Thu, 3 Nov 2016 01:31:14 -0400 (EDT) X-Original-To: learn-at-nylxs.com Delivered-To: learn-at-nylxs.com Received: from [10.0.0.62] (flatbush.mrbrklyn.com [10.0.0.62]) by mrbrklyn.com (Postfix) with ESMTP id 7C94A160E77 for ; Thu, 3 Nov 2016 01:31:12 -0400 (EDT) To: learn-at-nylxs.com From: Ruben Safir Message-ID: Date: Thu, 3 Nov 2016 01:31:12 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------99BD3CBD0A93DA0D41DD7528" Subject: [Learn] Fitch algorithm from the beginning X-BeenThere: learn-at-nylxs.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: learn-bounces-at-nylxs.com Sender: "Learn"
This is a multi-part message in MIME format. --------------99BD3CBD0A93DA0D41DD7528 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit
This is the start of the C++ structure
http://www.nylxs.com/docs/thesis/src/
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
--------------99BD3CBD0A93DA0D41DD7528 Content-Type: text/x-c++src; name="nodes.cpp" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="nodes.cpp"
#include "nodes.h" #include using namespace std;
template NODE::~NODE{ }
--------------99BD3CBD0A93DA0D41DD7528 Content-Type: text/x-chdr; name="nodes.h" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="nodes.h"
#ifndef NODES_H #define NODES_H #include
using namespace std;
template class NODE{ public: NODE( unk value, NODE *a = 0, NODE *b = 0, NODE *p = 0 ); inline unk states(); inline void states(unk); inline NODE * a(); inline NODE * b(); inline NODE * c(); // inline void next(NODE *);
~NODE();
private: unk _states; NODE *_a, _b, _p; };
template inline unk NODE::states(){ if(this != NULL) return _state; else return NULL; };
template inline void NODE::states(unk s ){ _states = s ; };
class state{ public: String num; };
/* template inline NODE::NODE(unk value, NODE *item): _value(value) { if (!item){ //cout << "_value=> " << _value << endl; _next = 0; } else{ //cout << "insert after _value=> " << _value << endl; //_next = item->_next; next(item->next()); item->next(this);
//inserts after on construction } }; */
/* template inline unk NODE::value(){ if(this != NULL) return _value; else return NULL; };
template inline void NODE::value(unk val){ _value = val; };
*/
/* template inline NODE * NODE::next(){ if(this != NULL) return _next; else return NULL; }; */
/* template inline void NODE::next(NODE * nxt){ //cout << "Adding Next \n"; _next = nxt; } */
/* template class LIST{ public: LIST() : _at_front(0), _at_end(0), _size(0) {} inline int size(); inline void insert(NODE *, unk); inline void insert(unk); inline void front(unk); inline void up_size(); inline void down_size(); void display(ostream &os = cout); void remove_front(); void remove_all(); void remove_item(unk); void remove_item(NODE *); NODE * find(unk); NODE * find_all(unk, NODE * last = NULL );
~LIST();
private: NODE *_at_front; NODE *_at_end; int _size; LIST(const LIST&); LIST& operator=( const LIST&); }; */
/* template inline int LIST::size(){return _size;} template inline LIST::~LIST(){remove_all();} template inline void LIST::insert(NODE *ptr, unk value){ up_size(); //cout << "insert: ptr =>" << ptr << " value =>" << value << endl; if(ptr == 0){ front(value); return; } if(ptr == _at_end){ _at_end = new NODE(value,ptr); return; } new NODE(value,ptr); } */ /* template inline void LIST::insert(unk value){ up_size(); if(_at_end == 0){ front(value); return; } NODE * new_item = new NODE(value, _at_end); _at_end = new_item; }
template inline void LIST::up_size(){ ++_size; }
template inline void LIST::down_size(){ --_size; }
template inline void LIST::front(unk value){ NODE *tmp; up_size(); if(_at_front){ tmp = _at_front; _at_front = new NODE(value); _at_front->next(tmp); return; }
_at_end = _at_front = new NODE(value); return; }
*/
/* template void LIST::display(ostream &os){ NODE * tmp = _at_front;
if (tmp == 0){ os << "No List" << endl; return; }
//unk i =0; while(tmp != _at_end){ //cout << "Entering While Loop: "<< ++i << endl; os << tmp->value() << ":"; tmp = tmp->next(); }
os << tmp->value() << endl;
} */
#endif
--------------99BD3CBD0A93DA0D41DD7528 Content-Type: text/plain; charset=UTF-8; name="makefile" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="makefile"
Zml0Y2ggOglub2Rlcy5vIG1haW4ubwoJZysrIC1XYWxsIC1nZ2RiIC1vIG5vZGVzIG1haW4u byBub2Rlcy5vCgpub2Rlc19tYWluLm8gOgltYWluLmNwcAoJZysrIC1XYWxsIC1nZ2RiIC1j IG1haW4uY3BwCQoKbm9kZXMubyA6CW5vZGVzLmNwcAoJZysrIC1XYWxsIC1nZ2RiIC1jIG5v ZGVzLmNwcAoKaW5jbHVkZSBtYWtlLmRlcHMKbWFrZS5kZXBzOiAqLmNwcCA7IGdjYyAtTSAq LmNwcCA+JEAK --------------99BD3CBD0A93DA0D41DD7528 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Learn mailing list Learn-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/learn
--------------99BD3CBD0A93DA0D41DD7528--
|
|