ElfPSP_AntColony
Protein Structure Prediction using Ant Colony Optimization
Classes | Functions
acosolution.h File Reference
#include <vector>
#include <random>
#include "vec3.h"

Go to the source code of this file.

Classes

class  ACOSolution
 Encapsulates a solution that is built by an ant. More...
 

Functions

std::ostream & operator<< (std::ostream &stream, const ACOSolution &sol)
 Prints coordinates and directions of the solution. More...
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  stream,
const ACOSolution sol 
)
inline

Prints coordinates and directions of the solution.

Each coordinate of the solution is printed sequentially, separated by whitespace. Then comes a newline. Then each direction is printed sequentially, not separated by whitespace.