Exemple #1
0
    def evaluate(self, state, settings, geometry):
        """Evaluates preset processes for each component.

        Assumptions:
        None

        Source:
        N/A

        Inputs:
        state     (passed to an evaluation function)
        setting   (passed to an evaluation function)
        geometry  (used to get keys and passed to an evaluation function)

        Outputs:
        None

        Properties Used:
        self.geometry_key <string>
        """
        geometry_items = geometry.deep_get(self.geometry_key)

        results = Results()

        for key, this_geometry in geometry_items.items():
            result = Process.evaluate(self, state, settings, this_geometry)
            results[key] = result

        return results
Exemple #2
0
    def evaluate(self,state,settings,geometry):
        """Evaluates preset processes for each component.

        Assumptions:
        None

        Source:
        N/A

        Inputs:
        state     (passed to an evaluation function)
        setting   (passed to an evaluation function)
        geometry  (used to get keys and passed to an evaluation function)

        Outputs:
        None

        Properties Used:
        self.geometry_key <string>
        """             
        geometry_items = geometry.deep_get(self.geometry_key)
        
        results = Data()
        
        for key, this_geometry in geometry_items.items():
            result = Process.evaluate(self,state,settings,this_geometry)
            results[key] = result
            
        return results
        
        
        
        
Exemple #3
0
    def evaluate(self, state, settings, geometry):

        geometry_items = geometry.deep_get(self.geometry_key)

        results = Results()

        for key, this_geometry in geometry_items.items():
            result = Process.evaluate(self, state, settings, this_geometry)
            results[key] = result

        return results
 def evaluate(self,state,settings,geometry):
     
     geometry_items = geometry.deep_get(self.geometry_key)
     
     results = Results()
     
     for key, this_geometry in geometry_items.items():
         result = Process.evaluate(self,state,settings,this_geometry)
         results[key] = result
         
     return results