class TestMOArchiving3obj(unittest.TestCase):
Undocumented
Method | test |
test if the add_points function works correctly |
Method | test |
Test the contributing_hypervolume function first for a simple case, and then compare it to the 2obj version, with one objective set to 0 |
Method | test_copy_ |
Test the copy function of the DLNode class |
Method | test_copy_ |
Test the copy function of the MOArchive3obj class |
Method | test |
Test the distance_to_hypervolume_area function first for a case where the reference point is not set, then for points in and outside the hypervolume area |
Method | test |
Test the distance_to_pareto_front function by comparing it to the 2obj version |
Method | test |
Test the distance_to_pareto_front function by comparing it to hand calculated values |
Method | test |
Test the dominates function |
Method | test |
Test the dominators function |
Method | test |
Test the get_non_dominated_points function: - check if the number of points is correct - check if the points are non-dominated and in the [0, 1] range |
Method | test |
test the hypervolume calculation, by comparing to the result of original implementation in C |
Method | test |
Calculate the hypervolume of the archive after adding points and compare it to the hypervolume obtained by adding the points to a new archive |
Method | test |
test the hypervolume calculation for a simple case |
Method | test |
Test the hypervolume_improvement function first for a simple case, and then compare it to the 2obj version, with one objective set to 0 |
Method | test |
test the hypervolume_plus indicator |
Method | test |
test if the in_domain function works correctly |
Method | test |
test if the infos about dominated points are removed |
Method | test |
test if the infos are stored correctly - if the points are non dominated, the infos should be the same |
Method | test |
Test that the length of the archive is correct after adding and removing points |
Method | test |
Test the lexsort function, by comparing it to the output of the numpy implementation |
Method | test |
Test the remove function, by comparing the archive with 100 points added and then 50 removed, to the with only the other 50 points added |
Test the contributing_hypervolume function first for a simple case, and then compare it to the 2obj version, with one objective set to 0
Test the distance_to_hypervolume_area function first for a case where the reference point is not set, then for points in and outside the hypervolume area
Test the get_non_dominated_points function: - check if the number of points is correct - check if the points are non-dominated and in the [0, 1] range
Calculate the hypervolume of the archive after adding points and compare it to the hypervolume obtained by adding the points to a new archive
Test the hypervolume_improvement function first for a simple case, and then compare it to the 2obj version, with one objective set to 0
test if the infos are stored correctly - if the points are non dominated, the infos should be the same