/** * \file OptimizerState.cpp \brief Shared optimizer state. * * Copyright 2007-2013 IMP Inventors. All rights reserved. * */ #include "IMP/base//log.h" #include "IMP/kernel/OptimizerState.h" #include "IMP/kernel/internal/utility.h" IMPKERNEL_BEGIN_NAMESPACE OptimizerState::OptimizerState(std::string name): Object(name) { } //! Give accesss to optimizer. /** \param[in] optimizer The optimizer this state will act on. */ void OptimizerState::set_optimizer(Optimizer* optimizer) { optimizer_ = optimizer; } IMPKERNEL_END_NAMESPACE