Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SharedPC12NetworksMinimizableDirector.cpp

Go to the documentation of this file.
00001 // SharedPC12NetworksMinimizableDirector.cpp: implementation of the CSharedPC12NetworksMinimizableDirector class.
00002 //
00004 
00005 #include "SharedPC12NetworksMinimizableDirector.h"
00006 
00008 // Construction/Destruction
00010 
00011 CSharedPC12NetworksMinimizableDirector::CSharedPC12NetworksMinimizableDirector()
00012 {
00013         // replica one
00014         m_pReplicaOne = new PC12EGFNGFMinimizableDirector();
00015         // replica two
00016         m_pReplicaTwo = new CPC12AlternateMinimizableDirector();
00017 
00018         // find the parameter intersection lists
00019         SetIntersectionLists();
00020 
00021         // allocate the master residuals list
00022         int masterResidualsSize = 0;
00023         masterResidualsSize = m_pReplicaOne->GetNResiduals() + m_pReplicaTwo->GetNResiduals();
00024         if(m_dGammaSquared > 0.0)
00025         {
00026                 masterResidualsSize += 1;
00027         }
00028         Allocate(masterResidualsSize);
00029 
00030         cout << "Master Residuals size : " << masterResidualsSize << endl;
00031 }
00032 
00033 CSharedPC12NetworksMinimizableDirector::~CSharedPC12NetworksMinimizableDirector()
00034 {
00035 
00036 }

Generated on Mon Nov 3 09:38:15 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002