Skip to content

Commit c323d7b

Browse files
committed
distribution matching
1 parent 86bef58 commit c323d7b

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

libmoon/util/constant.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
import numpy as np
2-
from .scalarization import ls, mtche, tche, pbi, cosmos, invagg, soft_tche, soft_mtche, aasf, pnorm
2+
from .scalarization import (ls, mtche, tche, pbi, cosmos, invagg, soft_tche,
3+
soft_mtche, aasf, pnorm)
34
from libmoon.util.problems import get_problem
45
import os
56
from numpy import array
67
import torch
8+
9+
710
FONT_SIZE = 20
811
FONT_SIZE_2D = 20
912
FONT_SIZE_3D = 20
1013
solution_eps = 1e-5
1114
from matplotlib import pyplot as plt
1215

13-
1416
nadir_point_dict = {
1517
'adult': array([0.6, 0.12]),
1618
'compass': array([0.52, 0.34]),
@@ -130,9 +132,6 @@ def get_device():
130132
print('cuda is not available')
131133
return device
132134

133-
134-
# color_arr = ['blue', 'red', 'green', 'orange', 'purple', 'brown', 'pink', 'grey', 'black', 'yellow'] * 100
135-
136135
beautiful_dict = {
137136
# ['MOEADURAW', 'MCEAD', 'LMPFE', 'nsga3', 'sms', 'moead', 'adjust']
138137
'MOEADURAW' : 'MOEA/D-URAW',

libmoon/util/synthetic.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import torch
22
import numpy as np
3-
from libmoon.util.problems import get_problem
4-
53

64
def synthetic_init(problem, prefs):
75

libmoon/visulization/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)