Ultra 0.9.4
Loading...
Searching...
No Matches
interpreter.h File Reference

Go to the source code of this file.

Classes

class  ultra::src::interpreter

Namespaces

namespace  ultra

Functions

value_t ultra::src::run (const gp::individual &ind, const std::vector< value_t > &ex)

Detailed Description

Remarks
This file is part of ULTRA.
License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/

Function Documentation

◆ run()

value_t ultra::src::run ( const gp::individual & ind,
const std::vector< value_t > & ex )
nodiscard

A handy short-cut for one-time execution of an individual.

Parameters
[in]indindividual/program to be run
[in]exinput values for the current training case (used to valorize the variables of ind)
Returns
possible output value of the individual