Ultra 0.9.4
Loading...
Searching...
No Matches
print_internal.h File Reference
#include "kernel/individual.h"
#include "utility/log.h"

Go to the source code of this file.

Namespaces

namespace  ultra

Functions

template<Individual I>
void ultra::internal::print_linear_in_line (std::ostream &s, const I &ind)
template<Individual I>
void ultra::internal::print_linear_graphviz (std::ostream &s, const I &ind)
template<class Individual>
void ultra::internal::print_linear (std::ostream &s, const Individual &ind, out::print_format_t format, std::string_view type_name)

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

◆ print_linear_graphviz()

template<Individual I>
void ultra::internal::print_linear_graphviz ( std::ostream & s,
const I & ind )

Inserts into the output stream the graph representation of the individual.

Parameters
[out]soutput stream
[in]inddata to be printed
Note
The format used to describe the graph is the dot language (https://www.graphviz.org/).

◆ print_linear_in_line()

template<Individual I>
void ultra::internal::print_linear_in_line ( std::ostream & s,
const I & ind )

Prints the genes of the individual.

Parameters
[out]soutput stream
[in]inddata to be printed