Giter Site home page Giter Site logo

Comments (1)

SnpM avatar SnpM commented on August 20, 2024

On AgentController, GetStateHash is static. It returns a hash of all AC
instances for validation. I'm not sure why Vector2d doesn't use GetHashCode
though. A pull renaming the GetStateHash to GetHashCode would be great.

On Tue, Jul 5, 2016 at 1:34 AM, Jesse Fish [email protected] wrote:

I am going through the code and cleaning up as many warnings and issues as
I can to tidy it up before diving into the project I want to make with it.
What was the motivation to use GetStateHash as the name for the hash code
method for all objects over the default GetHashCode that should be
overriden in all of these objects with the logic implemented in
GetStateHash. Is there something special about the StateHash that means it
shouldn't be used in all GetHashCode calls? If not I'll make a pull request
renaming all instances of GetStateHash to GetHashCode, or if people prefer
keep GetStateHash and add a GetHashCode that simply calls GetStateHash.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#76, or mute the thread
https://github.com/notifications/unsubscribe/AHXqpz40oCAyM9n813_ob0o7uaBpmmjmks5qSgjsgaJpZM4JE2Og
.

from lockstepframework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.