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

Go to the source code of this file.

Classes

class  ultra::de::individual

Namespaces

namespace  ultra

Functions

double ultra::de::distance (const individual &lhs, const individual &rhs)

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

◆ distance()

double ultra::de::distance ( const individual & lhs,
const individual & rhs )
nodiscard
Parameters
[in]lhsfirst term of comparison
[in]rhssecond term of comparison
Returns
a numeric measurement of the difference between lhs and rhs (taxicab / L1 distance)