![]() |
QPanda3
Supported by OriginQ
|
Describe a kind of event, and its basic operations. 更多...
Public 成员函数 | |
| __init__ (self, name, null, aggregator, formatter=str) | |
| __repr__ (self) | |
| __eq__ (self, other) | |
| __hash__ (self) | |
| null (self) | |
| aggregate (self, val1, val2) | |
| Aggregate two event values. | |
| format (self, val) | |
| Format an event value. | |
Public 属性 | |
| name = name | |
Protected 属性 | |
| _null = null | |
| _aggregator = aggregator | |
| _formatter = formatter | |
Describe a kind of event, and its basic operations.
| pyqpanda3.profiling.gprof2dot.Event.__init__ | ( | self, | |
| name, | |||
| null, | |||
| aggregator, | |||
| formatter = str ) |
| pyqpanda3.profiling.gprof2dot.Event.__eq__ | ( | self, | |
| other ) |
| pyqpanda3.profiling.gprof2dot.Event.__hash__ | ( | self | ) |
| pyqpanda3.profiling.gprof2dot.Event.__repr__ | ( | self | ) |
| pyqpanda3.profiling.gprof2dot.Event.aggregate | ( | self, | |
| val1, | |||
| val2 ) |
Aggregate two event values.
| pyqpanda3.profiling.gprof2dot.Event.format | ( | self, | |
| val ) |
Format an event value.
| pyqpanda3.profiling.gprof2dot.Event.null | ( | self | ) |
|
protected |
|
protected |
|
protected |
| pyqpanda3.profiling.gprof2dot.Event.name = name |