Giter Club home page Giter Club logo

object_matrix_standalone's Introduction

README
======

Building the source
-------------------

Just type the following on the commmand line::

 $ ./autogen.sh
 $ ./configure
 $ ./make


Detailed package description
----------------------------

This package contains the implementation of the following fundamental classes:

- Model
- SpeciesType
- NetworkRules
- ReactionRule

The description of each class is as follows:

* Model class

  Model class represents an abstract simulation model.  Details of the model are
  supposed to be supplied to the simulator separately.
  
  For the present time, it only defines two methods:
  
  - Model::network_rules()
  - Model::new_species_type()

  Model::network_rules() returns the NetworkRules object that is tied to
  the Model.  As NetworkRules is an abstract class that is not directly
  instantiable,  one has to fetch the object through this method.
  
  Model::new_species_type() creates a new SpeciesType object, assigns to it
  a newly generated SpeciesTypeID (by SerialIDGenerator) and returns it.  In
  order to make sure that every SpeciesType has an unique SpeciesTypeID,
  SpeciesType has to be indirectly instantiated with this factory method.
  
* SpeciesType

  A SpeciesType object denotes a chemical species in general.  This object
  cannot be directly instantiated and has to be retrieved via
  Model::new_species_type().
  
  This class is designed to hold arbitrary string properties keyed by strings.
  The interpretation of those properties depends on the simulator, as the
  simulator implementation is supposed to have a specialized, non-dynamic
  version of this object.  For instance, a particle simulator should take
  the diffusion coefficient, shape and approximate radius of the species
  from the corresponing SpeciesType object and then creates a simulator's
  view of the object, say, SpeciesInfo, which would cache the values of
  those parameters.

* NetworkRules

  A NetworkRules object manages a set of reaction rules.  One can add a
  reaction rule with NetworkRules::add_reaction_rule() and queries the
  registered (or possibly deduced) reaction rules through
  NetworkRules::query_reaction_rule().
  
* ReactionRule

  A ReactionRule object corresponds to one specific reaction rule constituted
  by reactants, products and a kinetic constant.  Reactants must be one or two
  species while products can be any number of species.

Python binding
--------------

Python stub classes also come with those classes.  The implementation is put in modelmodule.cpp and files under peer/ dircetory.


object_matrix_standalone's People

Watchers

 avatar

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.