Logo Search packages:      
Sourcecode: yagtd version File versions  Download package

def gtd::Task::priority (   self )
Compute priority.

Definition at line 230 of file gtd.py.

        """Compute priority."""

        I = self['importance']

        P = min(self['urgency']+2, self._schedule_pressure())
        U = max(self['urgency'], P)

        E = self._effort()

        Prio = sqrt(2*U*U+2*I*I+E*E)/sqrt(5)
        #if __debug__: print "Piority=", Prio
        return Prio

# ToDo class (sequence);
# Used as a simple list.

Generated by  Doxygen 1.6.0   Back to index