contrib/rpl/rgrl/rgrl_converge_status_nas.cxx
Go to the documentation of this file.
00001 //:
00002 // \file
00003 // \author Gehua Yang
00004 // \date   March 2005
00005 
00006 #include "rgrl_converge_status_nas.h"
00007 
00008 rgrl_converge_status_nas::
00009 rgrl_converge_status_nas()
00010   : rgrl_converge_status(),
00011     iteration_(0),
00012     stability_(-1),
00013     consistency_(-1)
00014 {
00015 }
00016 
00017 rgrl_converge_status_nas::
00018 rgrl_converge_status_nas( bool     in_has_converged,
00019                       bool     in_has_stagnated,
00020                       bool     in_is_good_enough,
00021                       bool     in_is_failed,
00022                       double   in_error,
00023                       unsigned in_oscillation_count,
00024                       double   in_error_diff )
00025   : rgrl_converge_status( in_has_converged, in_has_stagnated, in_is_good_enough, in_is_failed,
00026                           in_error, in_oscillation_count, in_error_diff ),
00027     iteration_(0),
00028     stability_(-1),
00029     consistency_(-1)
00030 {
00031 }
00032 
00033 rgrl_converge_status_nas::
00034 rgrl_converge_status_nas( rgrl_converge_status const& old )
00035   : rgrl_converge_status( old ),
00036     iteration_(0),
00037     stability_(-1),
00038     consistency_(-1)
00039 {
00040 }
00041 
00042 rgrl_converge_status_nas::
00043 ~rgrl_converge_status_nas()
00044 {
00045 }
00046 
00047 
00048 void
00049 rgrl_converge_status_nas::
00050 set_init_scaling_factors( vnl_vector<double> const& scaling )
00051 {
00052   init_scaling_factors_ = scaling;
00053 }