f33a0c440d0291c7205f307c519d1f634e72fb80,dit/pid/pid.py,BaseIncompletePID,_compute_lattice_monotonicity,#BaseIncompletePID#,337

Before Change


            Updated partial information values.
        
        // everything below a redundancy of 0 is a redundany of 0
        nodes = nx.topological_sort(self._lattice)
        while nodes:
            node = nodes.pop(0)
            if node in reds and np.isclose(0, reds[node]):
                for n in descendants(self._lattice, node):
                    if n not in reds:

After Change


            Updated partial information values.
        
        // everything below a redundancy of 0 is a redundany of 0
        nodes = list(nx.topological_sort(self._lattice))
        while nodes:
            node = nodes.pop(0)
            if node in reds and np.isclose(0, reds[node]):
                for n in descendants(self._lattice, node):
                    if n not in reds:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dit/dit
Commit Name: f33a0c440d0291c7205f307c519d1f634e72fb80
Time: 2017-09-21
Author: ryangregoryjames@gmail.com
File Name: dit/pid/pid.py
Class Name: BaseIncompletePID
Method Name: _compute_lattice_monotonicity


Project Name: dit/dit
Commit Name: f33a0c440d0291c7205f307c519d1f634e72fb80
Time: 2017-09-21
Author: ryangregoryjames@gmail.com
File Name: dit/profiles/information_partitions.py
Class Name: BaseInformationPartition
Method Name: _partition