MESSAGE
DATE | 2016-11-02 |
FROM | Ruben Safir
|
SUBJECT | Subject: [Learn] Fitch Algorithm - C++
|
From learn-bounces-at-nylxs.com Wed Nov 2 14:27:54 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 E0BC1161312; Wed, 2 Nov 2016 14:27:53 -0400 (EDT) X-Original-To: learn-at-nylxs.com Delivered-To: learn-at-nylxs.com Received: by mrbrklyn.com (Postfix, from userid 1000) id 74F31161311; Wed, 2 Nov 2016 14:27:51 -0400 (EDT) Date: Wed, 2 Nov 2016 14:27:51 -0400 From: Ruben Safir To: learn-at-nylxs.com Message-ID: <20161102182751.GA10998-at-www.mrbrklyn.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: [Learn] Fitch Algorithm - C++ 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: learn-bounces-at-nylxs.com Sender: "Learn"
I started outlining and working on the Fitch algorithm as it is laid out in the text. I have some doubts about our understanding of the algorithm, but regardless, I've started working on it. I decided, FWIW, to do this in C++, just because I've forgotten how to do write C++ code and need to bring myself up to speed. Also, the nodal nature of this methodology lends itself to templates and classes.
I'm looking at the general data structure of the method and this is what I've come up with. Critcism is welcome.
Class Node Node parent Node lchild Node rchild vector <> int min
Class State String name
Class Costs State alpha State beta int cost
vetcor<>
I have C++ workshops with source at http://www.nylxs.com/workshop/
-- 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
_______________________________________________ Learn mailing list Learn-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/learn
|
|