From cfcb14de828ba961f67e5b211b81b47301e4f209 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Wed, 26 Apr 2023 19:11:34 +0900 Subject: Conclude concrete execution impl --- lib/Core/Differentiator.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lib/Core/Differentiator.h') diff --git a/lib/Core/Differentiator.h b/lib/Core/Differentiator.h index 54a12ac7..1f9c7766 100644 --- a/lib/Core/Differentiator.h +++ b/lib/Core/Differentiator.h @@ -30,10 +30,14 @@ bool isSymArg(std::string); bool isSymOut(std::string); struct Differentiator { - uint64_t revA, revB; - std::map args; + std::uint64_t revA, revB; + // arg_k => v + std::map args; + // k => (out!k!a, out!k!b) std::map> outputs; - Differentiator(uint64_t a, uint64_t b) : revA{a}, revB{b} {} + // rev => stdout + std::map stdouts; + Differentiator(std::uint64_t a, std::uint64_t b) : revA{a}, revB{b} {} }; /// Write convenient representation for debugging -- cgit 1.4.1