Statistics
| Revision:

root / trunk / src / nh99 / model8.cpp @ 1942

History | View | Annotate | Download (607 Bytes)

1
/*
2
 * $Id: model8.cpp 1942 2014-04-28 22:22:45Z johnoel $
3
 *
4
 * Author: David Fournier
5
 * Copyright (c) 2008-2012 Regents of the University of California
6
 */
7
  #include <admodel.h>
8

    
9
  objective_function_value * objective_function_value::pobjfun=NULL;
10
  double objective_function_value::gmax=0;
11

    
12
  objective_function_value::objective_function_value() {pobjfun=this;}
13
  objective_function_value& objective_function_value::operator =
14
    (const prevariable& v)
15
  {
16
    prevariable::operator = (v);
17
    return *this;
18
  }
19
objective_function_value& objective_function_value::operator=(const double v)
20
  {
21
    prevariable::operator = (v);
22
    return *this;
23
  }