Changeset - 5a0a775ca9d3
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 8 years ago 2017-05-10 04:06:02
drewp@bigasterisk.com
tiny bit more WIP on solve.py
Ignore-this: 6ea6f78a95a19877a26b9091946506b8
1 file changed with 9 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/paint/solve.py
Show inline comments
 
@@ -55,8 +55,16 @@ def loadNumpy(path, thumb=(100, 100)):
 

	
 

	
 
class Settings(object):
 
    def __init__(self, graph, settingsList):
 
        self._compiled = {} # dev: { attr: val }
 
        for row in settingsList:
 
            self._compiled.setdefault(row[0], {})[row[1]] = row[2]
 

	
 
    def toVector(self):
 
    def fromVector(self):
 
        """
 
        
 
    def fromVector(cls, graph, vector):
 
        """update our settings from a vector with the same ordering as toVector would make"""
 
    def distanceTo(self, other):
 
        
 
    
0 comments (0 inline, 0 general)