(
operations: f64,
memory_bytes: u64,
intermediate_results: u64,
confidence: f64,
)
| 50 | |
| 51 | impl ExecutionCost { |
| 52 | pub fn new( |
| 53 | operations: f64, |
| 54 | memory_bytes: u64, |
| 55 | intermediate_results: u64, |
| 56 | confidence: f64, |
| 57 | ) -> Self { |
| 58 | Self { |
| 59 | operations, |
| 60 | memory_bytes, |
| 61 | intermediate_results, |
| 62 | confidence, |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | /// Calculate total cost score for comparison (lower is better) |
| 67 | pub fn total_cost(&self) -> f64 { |
nothing calls this directly
no outgoing calls
no test coverage detected