HASH provides a set of useful functions to help simplify simulation construction through a standard library, `hstd`

. The Python language environment also provides access to a wide array of scientific Python packages*.*

You can contribute to the HASH standard library by submitting pull requests to our open source repo.

The HASH Standard Library contains the following types of functions:

Category | Description |

â€‹Spatialâ€‹ | Functions describing and modifying the location of agents in x,y,z space. |

â€‹Initâ€‹ | Functions for initializing a simulation with new agents. |

â€‹Neighborsâ€‹ | Functions related to neighbors and neighbor calculations. |

â€‹Statisticalâ€‹ | Functions for performing complex statistical modeling or analysis. |

â€‹Randomâ€‹ | Functions related to random number generation |

â€‹Agentâ€‹ | Functions for helping build and use agents. |

To call a standard library function, use the `hash_stblib`

object followed by the function name, for example:

function behavior(state, context) {let distance = hstd.distanceBetween(agentA, agentB)}

HASH provides access to a number of scientific Python packages which can be utilized in simulations. Read more >â€‹