ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
model8.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id$
00003  *
00004  * Author: David Fournier
00005  * Copyright (c) 2008-2012 Regents of the University of California
00006  */
00007 #include <admodel.h>
00008 
00009 objective_function_value* objective_function_value::pobjfun = NULL;
00010 double objective_function_value::gmax = 0;
00011 
00015 objective_function_value::objective_function_value()
00016 {
00017   pobjfun = this;
00018 }
00022 objective_function_value& objective_function_value::operator=
00023   (const prevariable& _v)
00024 {
00025   prevariable::operator=(_v);
00026   return *this;
00027 }
00031 objective_function_value& objective_function_value::operator=
00032   (const double _v)
00033 {
00034   prevariable::operator=(_v);
00035   return *this;
00036 }