Loading...
Searching...
No Matches
MinimizationJob.h
Go to the documentation of this file.
1/*
2** This file is part of eOn.
3**
4** SPDX-License-Identifier: BSD-3-Clause
5**
6** Copyright (c) 2010--present, eOn Development Team
7** All rights reserved.
8**
9** Repo:
10** https://github.com/TheochemUI/eOn
11*/
12#pragma once
13#include "EonLogger.h"
14
15#include "Job.h"
16#include "Parameters.h"
17
18namespace eonc {
19
20class MinimizationJob : public Job {
21public:
22 MinimizationJob(std::unique_ptr<Parameters> parameters)
23 : Job(std::move(parameters)),
24 fcalls{0} {}
25 ~MinimizationJob(void) = default;
26 std::vector<std::string> run(void);
27
28private:
29 size_t fcalls;
32};
33
34} // namespace eonc
35
The job class is used to serve as an abstract class for all jobs, as well as to call a job at runtime...
Job(std::unique_ptr< Parameters > parameters)
Definition Job.h:58
std::vector< std::string > run(void)
Virtual run; used solely for dynamic dispatch.
eonc::log::Scoped log
MinimizationJob(std::unique_ptr< Parameters > parameters)
~MinimizationJob(void)=default
RAII resource manager for the ARTn C library with global synchronization.
RAII helper for class-scoped logging.
Definition EonLogger.h:171