-
-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Equivalency between 2 models/agents. #612
Comments
That sounds nice. A couple thoughts:
|
Different parameters should mean the agent are not equivalent. There isn't any way to get all the parameters of an agent right? something like |
distanceMetric is used for comparing solutions, to see if it has converged
on successive iterations. I'm not sure there's a use case for comparing
instances of AgentType subclasses for equality.
…On Tue, Apr 7, 2020 at 10:23 AM Mridul Seth ***@***.***> wrote:
Would an unsolved and a solved AgentType be equivalent? What if a
simulation had been ran, with different parameters? The meaning of
'equivalence' might be more intuitive if some of the functionalities
currently handled in AgentType were disentangled, see #495
<#495>
Different parameters should mean the agent are not equivalent. There isn't
any way to get all the parameters of an agent right? something like
AgentType.parameters
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#612 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADKRAFPJFZRL6XBUX3JFSRDRLMZM7ANCNFSM4MCXMCXQ>
.
|
I don't believe there is. It's a little complicated to do this... see #492 |
See also #660 |
This makes sense to me. I have wondered for a while why AgentType inherits from HARKObject, since there is no use case for using its distanceMetric function. I think what it's using currently is Does It would be safe to do that anyway, since the two classes can be combined with multiple inheritance when necessary. |
Should HARK have the
__eq__
method to compare 2 HARK objects?For example
example_1 == example_2
should be True (it will give it False) but currently HARK doesn't have the ability to test this.The text was updated successfully, but these errors were encountered: