Closed subwaystation closed 1 year ago
The new metrics:
---
sum_of_path_node_distances:
- distance:
path: Genome1
in_node_space: 1
in_nucleotide_space: 1
nodes: 2
nucleotides: 13
num_penalties: 0
- distance:
path: Genome2
in_node_space: 1.5
in_nucleotide_space: 1.28571
nodes: 2
nucleotides: 14
num_penalties: 0
- distance:
path: all_paths
in_node_space: 1.25
in_nucleotide_space: 1.14815
nodes: 4
nucleotides: 27
num_penalties: 0
Running the 1D
sum_of_path_node_distances
on this very simple graphwith
I noticed that the best metric goes below 1. Which does not make sense. This PR fixes this by always adding the information of the last node of a path to the sum.