ATLAS Offline Software
Loading...
Searching...
No Matches
dlldep.Stats Class Reference
Collaboration diagram for dlldep.Stats:

Public Member Functions

 __init__ (self, lib, cache)

Public Attributes

 lib = lib
int depTotal = len(cache.myfiles)-1
int depDirect = 0

Detailed Description

Statistics calculated from Cache object

Definition at line 128 of file dlldep.py.

Constructor & Destructor Documentation

◆ __init__()

dlldep.Stats.__init__ ( self,
lib,
cache )

Definition at line 131 of file dlldep.py.

131 def __init__(self, lib, cache):
132 self.lib = lib
133 self.depTotal = len(cache.myfiles)-1 # do not count ourselves
134 self.depDirect = 0
135
136 for lib in cache.myfiles.values():
137 if lib.distance==1: self.depDirect += 1
138 return
139
140

Member Data Documentation

◆ depDirect

int dlldep.Stats.depDirect = 0

Definition at line 134 of file dlldep.py.

◆ depTotal

int dlldep.Stats.depTotal = len(cache.myfiles)-1

Definition at line 133 of file dlldep.py.

◆ lib

dlldep.Stats.lib = lib

Definition at line 132 of file dlldep.py.


The documentation for this class was generated from the following file: