bin/ 0000755 0001750 0001750 00000000000 13121745725 010223 5 ustar adam adam Changelog 0000644 0001750 0001750 00000004753 13121746143 011271 0 ustar adam adam Bugfix 1.01:
---------------------
2017-06-19:16 sampler.hh max replaced with std::max; fix to
history flag setting procedure in four
parameter sampler::sampler. Thanks to
Mathieu.Fourment@uts.edu.au for pointing this out.
Version 1.0 Released:
---------------------
2009-04-14:15 1.0-RC4 adopted as version 1.0 without change.
Changes in version 1.0-RC4: Changes inspired by two anonymous reviewers.
------------------------------------------------------------------------
2009-02-04:14 A number of places in which variables were passed
by value have been amended to pass constant references.
2009-02-02:13 gslrnginfo has been reimplemented as a singleton.
This elimiates the need for some exception handling.
2009-01-27:12 SMC_HISTORY_* and SMC_RESAMPLE_* have been
replaced with enumerations to allow type checking.
2009-01-27:11 Missing const qualifiers added to szFile and
szMessage in the smc::exception class.
Similarly, for the szName argument to load_data in
the pf example.
2009-01-27:10 Makefiles tidied up.
2009-01-27:9 Resampled bitfield in historyflags has been made
unsigned.
2009-01-27:8 algorithm header included in sampler.hh to ensure
availability of max()
2009-01-27:7 Clumsy mechanism to prevent copying of the
smc::sampler class removed in favour of the more elegant approach
of making the copy constructor private.
2008-11-27:6 A more consistent commenting style has been adopted
-- C style comments have been eliminated.
2008-11-27:5 A README.txt file was added, providing a description
and basic installation details.
Changes in version 1.0-RC3:
---------------------------
2008-08-11:4 Corrected a bug in the RESIDUAL RESAMPLING routine,
any code using residual resampling should be
upgraded to at least 1.0-RC3 to avoid potential buffer overrun
problems and incorrect behaviour. Thanks to Martin Sewell for a related bug report.
2008-08-09:3: Changed the parameterisation of the annealing
schedule in the rare event example to
match that used in the paper.
Changes in version 1.0-RC2:
---------------------------
2008-08-08:2: Fixed a bug in the resampling routine which could
lead to incorrect behaviour for certain weight
sequences. Thanks to Roman Holenstein for pointing this out.
2008-08-07:1: Added wrappers for additional random number
generators in smc::rng, specifically:
Beta, Cauchy, Exponential, Gamma, Gaussian Tail,
Laplacian and Lognormal distributions.
COPYING 0000755 0001750 0001750 00000104513 13121737221 010505 0 ustar adam adam GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Copyright (C)
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
.
doc/ 0000755 0001750 0001750 00000000000 13121745725 010220 5 ustar adam adam examples/ 0000755 0001750 0001750 00000000000 13121737222 011262 5 ustar adam adam examples/Makefile 0000755 0001750 0001750 00000000333 13121737222 012724 0 ustar adam adam all: pf-example rare-events-example
.PHONY: pf-example rare-events-example clean
clean:
$(MAKE) -Cpf clean
$(MAKE) -Crare-events clean
pf-example:
$(MAKE) -Cpf all
rare-events-example:
$(MAKE) -Crare-events all
examples/rare-events/ 0000755 0001750 0001750 00000000000 13121745725 013524 5 ustar adam adam examples/rare-events/msvc/ 0000755 0001750 0001750 00000000000 13121737222 014465 5 ustar adam adam examples/rare-events/msvc/rare-events.vcproj 0000755 0001750 0001750 00000010542 13121737222 020152 0 ustar adam adam
examples/rare-events/Makefile 0000755 0001750 0001750 00000000566 13121737222 015167 0 ustar adam adam include ../../Makefile.in
C = main.cc simfunctions.cc
O = main.o simfunctions.o
H = simfunctions.hh
CCFLAGS := $(CCFLAGS) -I../../include -L../../lib
LFLAGS := -g -I../../include -L../../lib -static $(LFLAGS)
all: rare
.PHONY: clean
clean:
-rm *.o
-rm *~
-rm rare
rare: $(C) $(H)
$(CC) $(CCFLAGS) -c $(C)
$(CC) $(O) -lsmctc $(LFLAGS) -orare
cp rare ../../bin
examples/rare-events/markovchains/ 0000755 0001750 0001750 00000000000 13121737222 016202 5 ustar adam adam examples/rare-events/markovchains/markovchain.h 0000755 0001750 0001750 00000031141 13121737222 020660 0 ustar adam adam #ifndef __MARKOVCHAIN_H
#define __MARKOVCHAIN_H
#include
#include
using namespace std;
//!A template class for the elements of a Markov chain.
template class mElement
{
public:
//! Pointer to the previous element in the chain.
mElement *pPrev;
//! Pointer to the next element in the chain.
mElement *pNext;
//! Value of this element of the chain.
Space value;
mElement();
mElement(Space);
mElement(mElement*,Space,mElement*);
mElement operator=(mElement & mE) { this->value = mE.value; }
mElement operator=(mElement mE) { this->value = mE.value; }
};
template
mElement::mElement()
{
pPrev = NULL;
pNext = NULL;
}
template
mElement::mElement(Space sInit)
{
value = sInit;
pPrev = NULL;
pNext = NULL;
}
template
mElement::mElement(mElement* pPInit, Space sInit, mElement* pNInit)
{
value = sInit;
pPrev = pPInit;
pNext = pNInit;
}
//!A template class for a Markov Chain itself.
template class mChain
{
private:
long nLength;
mElement *pRoot;
mElement *pLeaf;
Space (*pfKernel) (Space);
public:
mChain();
mChain(long nInit, Space* pElements);
mChain(mChain *pMci);
mChain(const mChain &mci);
~mChain();
mChain operator= (const mChain&);
mChain operator+ (Space const &) const;
mChain& operator+=(Space const &);
mChain operator- (Space const &) const;
mChain& operator-=(Space const &);
const Space & AddToElement(long nIndex, const Space &);
int AppendElement(const Space & );
int CheckSanity(void) const;
int DeleteElement(long);
int DeleteRange(long,long);
void Empty(void);
int KernelElement(void);
int KernelRange(long);
int InsertElement(long, Space);
int PrependElement(Space);
mElement *GetElement(long ind) const {if(ind > nLength) return NULL; mElement *pCount = pRoot; for(int i=0; i < ind; i++) pCount = pCount->pNext; return pCount; }
mElement const *GetTerminal(void) const {return pLeaf;}
long GetLength(void) const { return nLength; }
Space (*GetKernel(void))(Space) { return pfKernel; }
void SetKernel(Space (*pfKernelNew) (Space)) { pfKernel = pfKernelNew; }
};
//! Constructor for an empty Markov Chain.
template
mChain::mChain()
{
nLength = 0;
pRoot = NULL;
pLeaf = NULL;
pfKernel = NULL;
}
//! Constructor for an initialised Markov Chain.
template
mChain::mChain(long nInit, Space* pElements)
{
nLength = nInit;
if(nInit) {
pRoot = new mElement(pElements[0]);
mElement *pCurrent = pRoot;
for(int i = 1; i < nInit; i++) {
pCurrent->pNext = new mElement(pCurrent, pElements[i], NULL);
pCurrent = pCurrent->pNext;
}
pLeaf = pCurrent;
}
else {
pRoot = NULL;
pLeaf = NULL;
}
pfKernel = NULL;
}
//! Constructor for an initialisd Markov Chain
template
mChain::mChain(mChain *pMci)
{
nLength = pMci->mLength;
if(pMci->nLength == 0) {
// nLength = 0;
pRoot = pLeaf = NULL;
}
else if(pMci->nLength == 1) {
pRoot = new mElement(NULL, pMci->GetElement(0)->value,NULL);
pLeaf = pRoot;
// nLength = 1;
}
else {
mElement * mEN = pMci->GetElement(0);
pRoot = new mElement(NULL,mEN->value,NULL);
mElement * mCurrent = pRoot;
for(int i = 1; i < nLength; i++) {
mCurrent->pNext = new mElement(mCurrent, mEN->value, NULL);
mEN = mEN->pNext;
mCurrent = mCurrent->pNext;
}
pLeaf = mCurrent;
}
}
template
mChain::mChain(const mChain &Mci)
{
/*
nLength = 0;
pRoot = pLeaf = NULL;
for(int i = 0; i < Mci.nLength; i++)
AppendElement(Mci.GetElement(i)->value);
*/
nLength = Mci.nLength;
if(Mci.nLength == 0) {
pRoot = pLeaf = NULL;
}
else {
if(Mci.nLength == 1) {
pRoot = new mElement(NULL, Mci.GetElement(0)->value,NULL);
pLeaf = pRoot;
}
else {
mElement * mEN = Mci.GetElement(0);
pRoot = new mElement(NULL,mEN->value,NULL);
mElement * mCurrent = pRoot;
for(int i = 1; i < nLength; i++) {
mCurrent->pNext = new mElement(mCurrent, mEN->pNext->value, NULL);
mEN = mEN->pNext;
mCurrent = mCurrent->pNext;
}
pLeaf = mCurrent;
}
}
pfKernel = Mci.pfKernel;
}
template
mChain::~mChain()
{
//It's wise to have something here or things leak somewhat....
if(nLength > 0) {
mElement* pCurrent = pLeaf;
while(pCurrent->pPrev) {
pCurrent = pCurrent->pPrev;
pCurrent->pNext->pPrev = NULL;
delete pCurrent->pNext;
pCurrent->pNext=NULL;
}
delete pCurrent;
}
pRoot=pLeaf=NULL;
nLength = 0;
}
/// Add the specified value to the specified element of the Markov Chain
template
const Space & mChain::AddToElement(long nElement, const Space & sAdd)
{
mElement* pCurrent = pRoot;
for(int n = 0; n < nElement; n++)
{
pCurrent=pCurrent->pNext;
if(!pCurrent)
return sAdd;
}
return pCurrent->value = pCurrent->value + sAdd;
}
//! Add a specified element to the end of a Markov Chain.
template
int inline mChain::AppendElement(const Space &snew)
{
if(nLength) {
pLeaf->pNext = new mElement(pLeaf,snew,NULL);
pLeaf = pLeaf->pNext;
nLength++;
return 0;
}
else {
pRoot = new mElement(NULL,snew,NULL);
pLeaf = pRoot;
nLength = 1;
return 0;
}
}
//! Check that the doubly-linked list is sane
template
int mChain::CheckSanity(void) const
{
int nLengthCheck = 0, nLengthCheck2 = 0;
int nLinkFails = 0;
mElement *pHead = pRoot;
while(pHead) {
nLengthCheck++;
if(pHead->pNext) {
if(pHead->pNext->pPrev != pHead)
nLinkFails++;
}
pHead=pHead->pNext;
}
pHead = pLeaf;
while(pHead) {
nLengthCheck2++;
if(pHead->pPrev) {
if(pHead->pPrev->pNext != pHead)
nLinkFails++;
}
pHead=pHead->pPrev;
}
if(nLengthCheck != nLength || nLengthCheck2 != nLength)
cerr << "LengthCheck " << nLengthCheck << "," << nLengthCheck2 << "(" << nLength << ")" << endl;
if(nLinkFails)
cerr << "Link Failure count..." << nLinkFails << endl;
if(nLengthCheck != nLength)
return -1;
return nLinkFails;
}
//! Remove an element from a specified position in a Markov Chain.
template
int mChain::DeleteElement(long nPos)
{
if(nPos < 0 || nPos > nLength)
return 1;
if(nPos == 0) {
mElement *pRootN = pRoot->pNext;
delete pRoot;
pRoot=pRootN;
if(pRoot)
pRoot->pPrev = NULL;
nLength--;
if(nLength < 2)
pLeaf = pRoot;
return 0;
}
if(nPos == nLength) {
mElement *pLeafN = pLeaf->pPrev;
delete pLeaf;
pLeaf=pLeafN;
if(pLeaf)
pLeaf->pNext = NULL;
nLength--;
if(nLength < 2)
pRoot = pLeaf;
return 0;
}
mElement *pPoint = pRoot, *pPointN, *pPointP;
for(int i = 1; i < nPos; i++)
pPoint = pPoint->pNext;
pPointP = pPoint->pPrev;
pPointN = pPoint->pNext;
delete pPoint;
pPointP->pNext = pPointN;
pPointN->pPrev = pPointP;
nLength--;
return 0;
}
//! Delete a contiguous region from within a Markov Chain.
template
int mChain::DeleteRange(long nPos1, long nPos2)
{
for(int i = nPos1; i < nPos2; i++)
if(DeleteElement(nPos1))
return 1;
return 0;
//This should be replaced wite an efficient implementation at some point!
}
//! Remove all of the elements from a Markov chain, leaving only an empty container
template
void inline mChain::Empty(void)
{
if(nLength > 0) {
mElement* pCurrent = pLeaf;
while(pCurrent->pPrev) {
pCurrent = pCurrent->pPrev;
pCurrent->pNext->pPrev = NULL;
delete pCurrent->pNext;
pCurrent->pNext=NULL;
}
delete pCurrent;
}
pRoot=pLeaf=NULL;
nLength = 0;
}
//! Insert a specified element at a specified position in a Markov Chain.
template
int mChain::InsertElement(long nPos, Space snew)
{
//If the insertion position is zero then insert the new element at the root of the chain
if(nPos == 0) {
return PrependElement(snew);
}
if(nPos == nLength)
return AppendElement(snew);
if(nPos > 0 && nPos < nLength) {
mElement *pPoint = pRoot, *pPointN;
for(int i = 1; i < nPos; i++)
pPoint = pPoint->pNext;
pPointN = pPoint->pNext;
pPoint->pNext = new mElement(pPoint,snew,pPointN);
pPointN->pPrev= pPoint->pNext;
nLength++;
return 0;
}
//If the insertion position does not lie between 0 and the length of the chain then we have a problem
return 1;
}
//! Extend the chain by a single element obtained from the associated Markov Kernel
template
int mChain::KernelElement(void)
{
if(nLength) {
pLeaf->pNext = new mElement(pLeaf, (*pfKernel)(pLeaf->value),NULL);
pLeaf = pLeaf->pNext;
nLength++;
return 0;
}
else {
return 1; //We can't very well extend a non-existant chain according to a kernel
}
}
//! Extend the chain by a specified number of elements obtained by iterative application of the associated Markov Kernel.
template
int mChain::KernelRange(long n)
{
for(int i = 0; i < n; i++) {
if(KernelElement())
return 1+i;
}
return 0;
}
//! Insert a specified element at the beginning of a Markov Chain.
template
int mChain::PrependElement(Space snew)
{
if(nLength) {
pRoot->pPrev = new mElement(NULL,snew,pRoot);
pRoot=pRoot->pPrev;
nLength++;
return 0;
}
else {
pRoot = new mElement(NULL,snew,NULL);
pLeaf = pRoot;
nLength = 1;
return 0;
}
}
//Overloaded operators for use with these template classes
//! Assigning a Markov Chain performs a deep copy
/*
template
mChain & mChain::operator= (mChain & mci)
{
nLength = mci.nLength;
// mChain *that = new mChain(&mci);
//
mElement *pi, *po;
pi = mci.pRoot;
Empty();
pRoot = new mElement(NULL,pi->value,NULL);
po = pRoot;
// po->value = pi->value;
while(pi->pNext) {
po->pNext = new mElement(po,pi->pNext->value,NULL);
// po->pNext->value = pi->pNext->value;
// po->pNext->pPrev = po;
po=po->pNext;
pi=pi->pNext;
}
pLeaf = pi;
return (*this);
//return *that;
}
*/
//! Assigning a Markov Chain performs a deep copy
template
mChain mChain::operator= (const mChain &mci)
{
// First, get rid of the old stuff
Empty();
// Now assign some new stuff
nLength = mci.nLength;
if(!nLength)
return *this;
// mChain *that = new mChain(&mci);
//
mElement *pi, *po;
pi = mci.pRoot;
pRoot = new mElement(NULL,pi->value,NULL);
po = pRoot;
while(pi->pNext) {
pi=pi->pNext;
po->pNext = new mElement(po,pi->value,NULL);
po=po->pNext;
}
pLeaf = po;
return (*this);
//return *that;
}
// Provide shortcuts for shifting the entire chain
template
mChain mChain::operator+ (Space const & sInc) const
{
static mChain that; // = new mChain;
that = *this;
mElement *pCurrent;
pCurrent = that.pRoot;
do {
pCurrent->value = pCurrent->value + sInc;
pCurrent = pCurrent->pNext;
} while (pCurrent);
return that;
}
template
mChain& mChain::operator+=(Space const & sInc)
{
*this = *this + sInc;
return *this;
}
template
mChain mChain::operator- (Space const & sInc) const
{
static mChain that; // = new mChain;
that = *this;
mElement *pCurrent;
pCurrent = that.pRoot;
do {
pCurrent->value = pCurrent->value - sInc;
pCurrent = pCurrent->pNext;
} while (pCurrent);
return that;
}
template
mChain& mChain::operator-=(Space const & sInc)
{
*this = *this - sInc;
return *this;
}
//Overloaded stream operators for use with these template classes
//! Allow the use of output streams with Markov Chains.
template
ostream & operator<< (ostream& os, mChain& mc)
{
if(!mc.GetLength())
return os;
mElement *me = mc.GetElement(0);
os << "[" << me->value;
while(me->pNext) {
me = me->pNext;
os << "," << me->value;
}
os << "]";
return os;
}
#endif
examples/rare-events/main.cc 0000755 0001750 0001750 00000002751 13121737222 014760 0 ustar adam adam #include
#include
#include "simfunctions.hh"
///Length of Markov Chain
long lChainLength = 15;
///Number of distributions used
long lIterates;
///Annealing schedule constant
double dSchedule = 30.0;
///Rare event threshold
double dThreshold = 5.0;
int main(int argc, char** argv)
{
cout << "Number of Particles: ";
long lNumber;
cin >> lNumber;
cout << "Number of Iterations: ";
cin >> lIterates;
cout << "Threshold: ";
cin >> dThreshold;
cout << "Schedule Constant: ";
cin >> dSchedule;
try{
///An array of move function pointers
void (*pfMoves[])(long, smc::particle > &,smc::rng*) = {fMove1, fMove2};
smc::moveset > Moveset(fInitialise, fSelect, sizeof(pfMoves) / sizeof(pfMoves[0]), pfMoves, fMCMC);
smc::sampler > Sampler(lNumber, SMC_HISTORY_RAM);
Sampler.SetResampleParams(SMC_RESAMPLE_STRATIFIED,0.5);
Sampler.SetMoveSet(Moveset);
Sampler.Initialise();
Sampler.IterateUntil(lIterates);
///Estimate the normalising constant of the terminal distribution
double zEstimate = Sampler.IntegratePathSampling(pIntegrandPS, pWidthPS, NULL) - log(2.0);
///Estimate the weighting factor for the terminal distribution
double wEstimate = Sampler.Integrate(pIntegrandFS, NULL);
cout << zEstimate << " " << log(wEstimate) << " " << zEstimate + log(wEstimate) << endl;
}
catch(smc::exception e)
{
cerr << e;
exit(e.lCode);
}
return 0;
}
examples/rare-events/simfunctions.cc 0000755 0001750 0001750 00000012026 13121737222 016551 0 ustar adam adam #include
#include
#include
#include "smctc.hh"
#include "simfunctions.hh"
using namespace std;
///The function corresponding to the log posterior density at specified time and position
/// \param lTime The current time (i.e. the index of the current distribution)
/// \param X The state to consider **/
double logDensity(long lTime, const mChain & X)
{
double lp;
mElement *x = X.GetElement(0);
mElement *y = x->pNext;
//Begin with the density exluding the effect of the potential
lp = log(gsl_ran_ugaussian_pdf(x->value));
while(y) {
lp += log(gsl_ran_ugaussian_pdf(y->value - x->value));
x = y;
y = x->pNext;
}
//Now include the effect of the multiplicative potential function
lp -= log(1.0 + exp(-(ALPHA(lTime) * (x->value - THRESHOLD) )));
return lp;
}
///A function to initialise double type markov chain-valued particles
/// \param pRng A pointer to the random number generator which is to be used
smc::particle > fInitialise(smc::rng *pRng)
{
// Create a Markov chain with the appropriate initialisation and then assign that to the particles.
mChain Mc;
double x = 0;
for(int i = 0; i < PATHLENGTH; i++) {
x += pRng->NormalS();
Mc.AppendElement(x);
}
return smc::particle >(Mc,0);
}
///A function to select a move randomly
/// \param lTime The current evolution time of the system
/// \param p The current position of the particle which is to be moved
/// \param pRng A pointer to the random number generator which is to be used
long fSelect(long lTime, const smc::particle > & p, smc::rng *pRng)
{
return 0;
}
void fMove1(long lTime, smc::particle > & pFrom, smc::rng *pRng)
{
// The distance between points in the random grid.
static double delta = 0.025;
static double gridweight[2*GRIDSIZE+1], gridws = 0;
static mChain NewPos[2*GRIDSIZE+1];
static mChain OldPos[2*GRIDSIZE+1];
// First select a new position from a grid centred on the old position, weighting the possible choises by the
// posterior probability of the resulting states.
gridws = 0;
for(int i = 0; i < 2*GRIDSIZE+1; i++) {
NewPos[i] = pFrom.GetValue() + ((double)(i - GRIDSIZE))*delta;
gridweight[i] = exp(logDensity(lTime,NewPos[i]));
gridws = gridws + gridweight[i];
}
double dRUnif = pRng->Uniform(0,gridws);
long j = -1;
while(dRUnif > 0 && j <= 2*GRIDSIZE) {
j++;
dRUnif -= gridweight[j];
}
pFrom.SetValue(NewPos[j]);
// Now calculate the weight change which the particle suffers as a result
double logInc = log(gridweight[j]), Inc = 0;
for(int i = 0; i < 2*GRIDSIZE+1; i++) {
OldPos[i] = pFrom.GetValue() - ((double)(i - GRIDSIZE))*delta;
gridws = 0;
for(int k = 0; k < 2*GRIDSIZE+1; k++) {
NewPos[k] = OldPos[i] + ((double)(k-GRIDSIZE))*delta;
gridweight[k] = exp(logDensity(lTime, NewPos[k]));
gridws += gridweight[k];
}
Inc += exp(logDensity(lTime-1, OldPos[i])) * exp(logDensity(lTime, pFrom.GetValue())) / gridws;
}
logInc -= log(Inc);
pFrom.SetLogWeight(pFrom.GetLogWeight() + logInc);
for(int i = 0; i < 2*GRIDSIZE+1; i++)
{
NewPos[i].Empty();
OldPos[i].Empty();
}
return;
}
///Another move function
void fMove2(long lTime, smc::particle > & pFrom, smc::rng *pRng)
{
pFrom.SetLogWeight(pFrom.GetLogWeight() + logDensity(lTime,pFrom.GetValue()) - logDensity(lTime-1,pFrom.GetValue()));
}
///An MCMC step suitable for introducing sample diversity
int fMCMC(long lTime, smc::particle > & pFrom, smc::rng *pRng)
{
static smc::particle > pTo;
mChain * pMC = new mChain;
for(int i = 0; i < pFrom.GetValue().GetLength(); i++)
pMC->AppendElement(pFrom.GetValue().GetElement(i)->value + pRng->Normal(0, 0.5));
pTo.SetValue(*pMC);
pTo.SetLogWeight(pFrom.GetLogWeight());
delete pMC;
double alpha = exp(logDensity(lTime,pTo.GetValue()) - logDensity(lTime,pFrom.GetValue()));
if(alpha < 1)
if (pRng->UniformS() > alpha) {
return false;
}
pFrom = pTo;
return true;
}
///A function to be integrated in the path sampling step.
double pIntegrandPS(long lTime, const smc::particle >& pPos, void* pVoid)
{
double dPos = pPos.GetValue().GetTerminal()->value;
return (dPos - THRESHOLD) / (1.0 + exp(ALPHA(lTime) * (dPos - THRESHOLD)));
}
///A function which gives the width distribution for the path sampling step.
double pWidthPS(long lTime, void* pVoid)
{
if(lTime > 1 && lTime < lIterates)
return ((0.5)*double(ALPHA(lTime+1.0)-ALPHA(lTime-1.0)));
else
return((0.5)*double(ALPHA(lTime+1.0)-ALPHA(lTime)) +(ALPHA(1)-0.0));
}
//The final state weighting function -- how likely is a random path from this distribution to hit the rare set...
double pIntegrandFS(const mChain& dPos, void* pVoid)
{
if(dPos.GetTerminal()->value > THRESHOLD) {
return (1.0 + exp(-FTIME*(dPos.GetTerminal()->value-THRESHOLD)));
}
else
return 0;
}
examples/rare-events/simfunctions.hh 0000755 0001750 0001750 00000002372 13121737222 016566 0 ustar adam adam #include "smctc.hh"
#include "markovchains/markovchain.h"
extern long lIterates;
extern long lNumber;
extern long lChainLength;
extern double dSchedule;
extern double dThreshold;
double logDensity(long lTime, const mChain & X);
smc::particle > fInitialise(smc::rng *pRng);
long fSelect(long lTime, const smc::particle > & p, smc::rng *pRng);
void fMove1(long lTime, smc::particle > & pFrom, smc::rng *pRng);
void fMove2(long lTime, smc::particle > & pFrom, smc::rng *pRng);
int fMCMC(long lTime, smc::particle > & pFrom, smc::rng *pRng);
double pIntegrandPS(long lTime, const smc::particle >& pPos, void* pVoid);
double pWidthPS(long lTime, void* pVoid);
double pIntegrandFS(const mChain& dPos, void* pVoid);
///The number of grid elements to either side of the current state for the single state move
#define GRIDSIZE 12
///The value of alpha at the specified time
#define ALPHA(T) (double(T)*double(dSchedule) / double(lIterates))
///The terminal version of alpha
#define FTIME (ALPHA(lIterates))
///The exceedance threshold which we are interested in.
#define THRESHOLD dThreshold
///The number of steps in the Markov chain
#define PATHLENGTH lChainLength
examples/pf/ 0000755 0001750 0001750 00000000000 13121745725 011676 5 ustar adam adam examples/pf/pffuncs.hh 0000755 0001750 0001750 00000000763 13121737222 013665 0 ustar adam adam #include "smctc.hh"
class cv_state
{
public:
double x_pos, y_pos;
double x_vel, y_vel;
};
class cv_obs
{
public:
double x_pos, y_pos;
};
double logLikelihood(long lTime, const cv_state & X);
smc::particle fInitialise(smc::rng *pRng);
long fSelect(long lTime, const smc::particle & p,
smc::rng *pRng);
void fMove(long lTime, smc::particle & pFrom,
smc::rng *pRng);
extern double nu_x;
extern double nu_y;
extern double Delta;
extern cv_obs * y;
examples/pf/msvc/ 0000755 0001750 0001750 00000000000 13121737222 012637 5 ustar adam adam examples/pf/msvc/pf.vcproj 0000755 0001750 0001750 00000010563 13121737222 014501 0 ustar adam adam
examples/pf/msvc/data.csv 0000755 0001750 0001750 00000006774 13121737222 014306 0 ustar adam adam 100
-1.3112368222317 3.05445446146941
-1.18084192156169 3.2026952109489
-1.31786851718686 2.88913768742942
-1.50357802721903 3.46463318923276
-1.46226396819012 3.49006369310796
-1.77395566111683 3.53281069036811
-1.58329636598704 3.45802947672192
-1.4146213179481 3.85036842928615
-1.17347691181189 3.81191420563327
-1.08267505748716 3.92139843981037
-1.41722298460544 3.50086173794325
-1.66180722650006 3.93522677670438
-1.36838808985725 4.2243437123992
-1.45689906906278 3.7661800548733
-1.62117111483901 3.77176805335284
-2.05667361970354 4.13014864754588
-1.84307687567164 3.99681489590283
-1.92830122010255 3.93465858140606
-1.76181569319081 4.01237249226117
-2.02529650940206 4.52977318841181
-1.87568750745383 4.299671960717
-1.82992860052213 4.63331719382436
-1.79903630802634 4.68648978693436
-2.23556932017191 4.57005876109171
-2.13713691324512 4.63016410212737
-1.96619524510094 4.58321212409546
-2.43123169274206 4.77850978611916
-2.51643163674528 4.77792919938755
-2.31003174748722 5.00379558200132
-2.35797680508247 5.34785489907257
-2.32462119928004 5.51990404993908
-2.3349085071662 5.52469354183444
-2.60343946213774 5.79362985065052
-2.55018471403192 5.87863721004318
-2.55696551469937 6.12792624607303
-2.53846749609916 5.87502765334891
-2.57204648440671 6.17039025731492
-2.90648727919603 6.44736846673525
-3.022485019546 5.92064570108665
-2.9813547166056 6.27516190223598
-3.03380507188488 6.11877220099743
-2.70406187998343 6.14575746349561
-3.04971400398642 6.4201702677493
-3.26134069169318 6.54250153420819
-3.53289991721096 6.98680509090092
-3.30662650671125 7.24805594408631
-3.38978183894266 7.37846457594642
-3.51812762277457 7.3696206333205
-3.29403338586032 7.50878097362767
-3.5185838082989 7.47381143469807
-3.4840502392735 7.73599690745035
-3.64739563333776 7.84664116813733
-3.6435996445389 8.1846210209492
-3.37571118810378 8.15012182818292
-3.24647125688327 8.43890143795509
-3.60812471950665 8.44661408222665
-3.40115814959644 8.5052955914581
-3.65316069021424 8.75834905591329
-3.75665451208443 8.64136558847173
-3.68847007183854 8.90752775482836
-3.98837564571867 9.23112070904798
-4.10126681252717 9.3650499841899
-4.17913322655295 9.44170746398772
-3.76790962900344 9.56215713316184
-3.91972534140568 9.24019430868945
-4.04104585790236 9.09843531599986
-3.72112255981371 9.50683000262241
-3.90470320549296 9.89346728030876
-4.5668738568331 9.87248720069089
-4.07106917364539 10.2148743105618
-4.11494386469553 10.1834193038788
-4.12252384878619 10.3319125875737
-4.35281607763816 10.5148549796559
-4.31862922599998 10.8015124545271
-4.7433116147536 11.2010253021165
-4.93531767342049 11.3341115377069
-5.17459468423179 11.3460629450974
-5.21310280977189 11.3492898633319
-5.43063839492691 11.6323905116851
-5.16452610629386 11.4155238150159
-5.32337678808473 11.4295103541245
-5.40731537219592 11.716576123091
-5.26096785525304 11.6977526683485
-5.14062953068388 12.1676097562834
-5.34778083933244 11.6795576734845
-5.28673905730339 11.9946422147231
-5.29813104472041 11.9202142873615
-5.52583985863003 12.1198024872054
-5.34731702593164 12.6396076782783
-5.4308495174137 12.7045461177656
-5.74374015270827 12.8847311081838
-5.47139763530352 12.7807494978094
-5.70252008086239 13.1944817465382
-5.78573701298091 13.2160604563087
-5.81577139983498 13.0020585013642
-5.75998162986483 12.8745793253432
-6.09326684844694 13.037394682276
-6.05343255791713 13.1331797169505
-6.25115479362752 12.9688423961153
-6.52454592352636 13.3655802454826
examples/pf/Makefile 0000755 0001750 0001750 00000000740 13121737222 013333 0 ustar adam adam include ../../Makefile.in
C = main.cc rng.cc history.cc simfunctions.cc
H = smctc.hh sampler.hh particle.hh moveset.hh history.hh rng.hh
PFC = pfexample.cc pffuncs.cc
PFO = pfexample.o pffuncs.o
PFH = pffuncs.hh
CCFLAGS := $(CCFLAGS) -I../../include -L../../lib
LFLAGS := -I../../include -L../../lib $(LFLAGS)
all: pf
pf: $(PFC) $(PFH)
$(CC) $(CCFLAGS) -c $(PFC)
$(CC) $(PFO) -lsmctc $(LFLAGS) -opf
cp pf ../../bin
cp data.csv ../../bin
clean:
-rm *.o
-rm *~
-rm pf examples/pf/data.csv 0000755 0001750 0001750 00000006774 13121737222 013336 0 ustar adam adam 100
-1.3112368222317 3.05445446146941
-1.18084192156169 3.2026952109489
-1.31786851718686 2.88913768742942
-1.50357802721903 3.46463318923276
-1.46226396819012 3.49006369310796
-1.77395566111683 3.53281069036811
-1.58329636598704 3.45802947672192
-1.4146213179481 3.85036842928615
-1.17347691181189 3.81191420563327
-1.08267505748716 3.92139843981037
-1.41722298460544 3.50086173794325
-1.66180722650006 3.93522677670438
-1.36838808985725 4.2243437123992
-1.45689906906278 3.7661800548733
-1.62117111483901 3.77176805335284
-2.05667361970354 4.13014864754588
-1.84307687567164 3.99681489590283
-1.92830122010255 3.93465858140606
-1.76181569319081 4.01237249226117
-2.02529650940206 4.52977318841181
-1.87568750745383 4.299671960717
-1.82992860052213 4.63331719382436
-1.79903630802634 4.68648978693436
-2.23556932017191 4.57005876109171
-2.13713691324512 4.63016410212737
-1.96619524510094 4.58321212409546
-2.43123169274206 4.77850978611916
-2.51643163674528 4.77792919938755
-2.31003174748722 5.00379558200132
-2.35797680508247 5.34785489907257
-2.32462119928004 5.51990404993908
-2.3349085071662 5.52469354183444
-2.60343946213774 5.79362985065052
-2.55018471403192 5.87863721004318
-2.55696551469937 6.12792624607303
-2.53846749609916 5.87502765334891
-2.57204648440671 6.17039025731492
-2.90648727919603 6.44736846673525
-3.022485019546 5.92064570108665
-2.9813547166056 6.27516190223598
-3.03380507188488 6.11877220099743
-2.70406187998343 6.14575746349561
-3.04971400398642 6.4201702677493
-3.26134069169318 6.54250153420819
-3.53289991721096 6.98680509090092
-3.30662650671125 7.24805594408631
-3.38978183894266 7.37846457594642
-3.51812762277457 7.3696206333205
-3.29403338586032 7.50878097362767
-3.5185838082989 7.47381143469807
-3.4840502392735 7.73599690745035
-3.64739563333776 7.84664116813733
-3.6435996445389 8.1846210209492
-3.37571118810378 8.15012182818292
-3.24647125688327 8.43890143795509
-3.60812471950665 8.44661408222665
-3.40115814959644 8.5052955914581
-3.65316069021424 8.75834905591329
-3.75665451208443 8.64136558847173
-3.68847007183854 8.90752775482836
-3.98837564571867 9.23112070904798
-4.10126681252717 9.3650499841899
-4.17913322655295 9.44170746398772
-3.76790962900344 9.56215713316184
-3.91972534140568 9.24019430868945
-4.04104585790236 9.09843531599986
-3.72112255981371 9.50683000262241
-3.90470320549296 9.89346728030876
-4.5668738568331 9.87248720069089
-4.07106917364539 10.2148743105618
-4.11494386469553 10.1834193038788
-4.12252384878619 10.3319125875737
-4.35281607763816 10.5148549796559
-4.31862922599998 10.8015124545271
-4.7433116147536 11.2010253021165
-4.93531767342049 11.3341115377069
-5.17459468423179 11.3460629450974
-5.21310280977189 11.3492898633319
-5.43063839492691 11.6323905116851
-5.16452610629386 11.4155238150159
-5.32337678808473 11.4295103541245
-5.40731537219592 11.716576123091
-5.26096785525304 11.6977526683485
-5.14062953068388 12.1676097562834
-5.34778083933244 11.6795576734845
-5.28673905730339 11.9946422147231
-5.29813104472041 11.9202142873615
-5.52583985863003 12.1198024872054
-5.34731702593164 12.6396076782783
-5.4308495174137 12.7045461177656
-5.74374015270827 12.8847311081838
-5.47139763530352 12.7807494978094
-5.70252008086239 13.1944817465382
-5.78573701298091 13.2160604563087
-5.81577139983498 13.0020585013642
-5.75998162986483 12.8745793253432
-6.09326684844694 13.037394682276
-6.05343255791713 13.1331797169505
-6.25115479362752 12.9688423961153
-6.52454592352636 13.3655802454826
examples/pf/pfexample.cc 0000755 0001750 0001750 00000005022 13121737222 014161 0 ustar adam adam #include "smctc.hh"
#include "pffuncs.hh"
#include
#include
#include
using namespace std;
///The observations
cv_obs * y;
long load_data(char const * szName, cv_obs** y);
double integrand_mean_x(const cv_state&, void*);
double integrand_mean_y(const cv_state&, void*);
double integrand_var_x(const cv_state&, void*);
double integrand_var_y(const cv_state&, void*);
int main(int argc, char** argv)
{
long lNumber = 1000;
long lIterates;
try {
//Load observations
lIterates = load_data("data.csv", &y);
//Initialise and run the sampler
smc::sampler Sampler(lNumber, SMC_HISTORY_NONE);
smc::moveset Moveset(fInitialise, fMove, NULL);
Sampler.SetResampleParams(SMC_RESAMPLE_RESIDUAL, 0.5);
Sampler.SetMoveSet(Moveset);
Sampler.Initialise();
for(int n=1 ; n < lIterates ; ++n) {
Sampler.Iterate();
double xm,xv,ym,yv;
xm = Sampler.Integrate(integrand_mean_x,NULL);
xv = Sampler.Integrate(integrand_var_x, (void*)&xm);
ym = Sampler.Integrate(integrand_mean_y,NULL);
yv = Sampler.Integrate(integrand_var_y, (void*)&ym);
cout << xm << "," << ym << "," << xv << "," << yv << endl;
}
}
catch(smc::exception e)
{
cerr << e;
exit(e.lCode);
}
}
long load_data(char const * szName, cv_obs** yp)
{
FILE * fObs = fopen(szName,"rt");
if (!fObs)
throw SMC_EXCEPTION(SMCX_FILE_NOT_FOUND, "Error: pf assumes that the current directory contains an appropriate data file called data.csv\nThe first line should contain a constant indicating the number of data lines it contains.\nThe remaining lines should contain comma-separated pairs of x,y observations.");
char* szBuffer = new char[1024];
fgets(szBuffer, 1024, fObs);
long lIterates = strtol(szBuffer, NULL, 10);
*yp = new cv_obs[lIterates];
for(long i = 0; i < lIterates; ++i)
{
fgets(szBuffer, 1024, fObs);
(*yp)[i].x_pos = strtod(strtok(szBuffer, ",\r\n "), NULL);
(*yp)[i].y_pos = strtod(strtok(NULL, ",\r\n "), NULL);
}
fclose(fObs);
delete [] szBuffer;
return lIterates;
}
double integrand_mean_x(const cv_state& s, void *)
{
return s.x_pos;
}
double integrand_var_x(const cv_state& s, void* vmx)
{
double* dmx = (double*)vmx;
double d = (s.x_pos - (*dmx));
return d*d;
}
double integrand_mean_y(const cv_state& s, void *)
{
return s.y_pos;
}
double integrand_var_y(const cv_state& s, void* vmy)
{
double* dmy = (double*)vmy;
double d = (s.y_pos - (*dmy));
return d*d;
}
examples/pf/pffuncs.cc 0000755 0001750 0001750 00000003270 13121737222 013647 0 ustar adam adam #include
#include
#include
#include "smctc.hh"
#include "pffuncs.hh"
using namespace std;
double var_s0 = 4;
double var_u0 = 1;
double var_s = 0.02;
double var_u = 0.001;
double scale_y = 0.1;
double nu_y = 10.0;
double Delta = 0.1;
///The function corresponding to the log likelihood at specified time and position (up to normalisation)
/// \param lTime The current time (i.e. the index of the current distribution)
/// \param X The state to consider
double logLikelihood(long lTime, const cv_state & X)
{
return - 0.5 * (nu_y + 1.0) * (log(1 + pow((X.x_pos - y[lTime].x_pos)/scale_y,2) / nu_y) + log(1 + pow((X.y_pos - y[lTime].y_pos)/scale_y,2) / nu_y));
}
///A function to initialise particles
/// \param pRng A pointer to the random number generator which is to be used
smc::particle fInitialise(smc::rng *pRng)
{
cv_state value;
value.x_pos = pRng->Normal(0,sqrt(var_s0));
value.y_pos = pRng->Normal(0,sqrt(var_s0));
value.x_vel = pRng->Normal(0,sqrt(var_u0));
value.y_vel = pRng->Normal(0,sqrt(var_u0));
return smc::particle(value,logLikelihood(0,value));
}
///The proposal function.
///\param lTime The sampler iteration.
///\param pFrom The particle to move.
///\param pRng A random number generator.
void fMove(long lTime, smc::particle & pFrom, smc::rng *pRng)
{
cv_state * cv_to = pFrom.GetValuePointer();
cv_to->x_pos += cv_to->x_vel * Delta + pRng->Normal(0,sqrt(var_s));
cv_to->x_vel += pRng->Normal(0,sqrt(var_u));
cv_to->y_pos += cv_to->y_vel * Delta + pRng->Normal(0,sqrt(var_s));
cv_to->y_vel += pRng->Normal(0,sqrt(var_u));
pFrom.AddToLogWeight(logLikelihood(lTime, *cv_to));
}
examples/pf/l 0000644 0001750 0001750 00000604761 13121737222 012063 0 ustar adam adam 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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7,0,0,3,2,2,0,0,0,0,0,1,1,0,0,0,0,2,0,0,4,2,12,0,0,0,0,0,1,0,0,0,6,1,0,0,0,0,1,0,0,0,12,2,0,0,0,0,0,0,0,0,1,0,2,0,2,0,0,0,0,1,0,0,13,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,1,0,4,7,0,0,0,1,0,3,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,7,0,0,1,0,9,2,0,2,0,1,0,0,0,0,2,0,0,6,0,1,0,3,0,0,3,1,0,0,0,0,1,0,0,0,0,0,0,0,6,0,0,1,14,0,0,0,0,0,6,7,4,1,0,8,0,0,3,0,0,0,1,0,0,0,0,0,0,0,0,
include/ 0000755 0001750 0001750 00000000000 13121745330 011066 5 ustar adam adam include/sampler.hh 0000755 0001750 0001750 00000047745 13121744300 013072 0 ustar adam adam // SMCTC: sampler.hh
//
// Copyright Adam Johansen, 2008--2017.
//
// This file is part of SMCTC.
//
// SMCTC is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// SMCTC is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with SMCTC. If not, see .
//! \file
//! \brief Defines the overall sampler object.
//!
//! This file defines the smc::sampler class which is used to implement entire particle systems.
#ifndef __SMC_SAMPLER_HH
#define __SMC_SAMPLER_HH 1.0
#include
#include
#include
#include "rng.hh"
#include "history.hh"
#include "moveset.hh"
#include "particle.hh"
#include "smc-exception.hh"
///Specifiers for various resampling algorithms:
enum ResampleType { SMC_RESAMPLE_MULTINOMIAL = 0,
SMC_RESAMPLE_RESIDUAL,
SMC_RESAMPLE_STRATIFIED,
SMC_RESAMPLE_SYSTEMATIC };
///Storage types for the history of the particle system.
enum HistoryType { SMC_HISTORY_NONE = 0,
SMC_HISTORY_RAM };
namespace smc {
/// A template class for an interacting particle system suitable for SMC sampling
template
class sampler
{
private:
///A random number generator.
rng* pRng;
///Number of particles in the system.
long N;
///The current evolution time of the system.
long T;
///The resampling mode which is to be employed.
ResampleType rtResampleMode;
///The effective sample size at which resampling should be used.
double dResampleThreshold;
///Structure used internally for resampling.
double* dRSWeights;
///Structure used internally for resampling.
unsigned int* uRSCount;
///Structure used internally for resampling.
unsigned int* uRSIndices;
///The particles within the system.
particle *pParticles;
///The set of moves available.
moveset Moves;
///The number of MCMC moves which have been accepted during this iteration
int nAccepted;
///A flag which tracks whether the ensemble was resampled during this iteration
int nResampled;
///A mode flag which indicates whether historical information is stored
HistoryType htHistoryMode;
///The historical process associated with the particle system.
history > History;
public:
///Create an particle system containing lSize uninitialised particles with the specified mode.
sampler(long lSize, HistoryType htHistoryMode);
///Create an particle system constaining lSize uninitialised particles with the specified mode and random number generator.
sampler(long lSize, HistoryType htHistoryMode, const gsl_rng_type* rngType, unsigned long nSeed);
///Dispose of a sampler.
~sampler();
///Calculates and Returns the Effective Sample Size.
double GetESS(void) const;
///Returns a pointer to the History of the -particle system
const history > * GetHistory(void) const { return &History; }
///Returns the number of particles within the system.
long GetNumber(void) const {return N;}
///Return the value of particle n
const Space & GetParticleValue(int n) { return pParticles[n].GetValue(); }
///Return the logarithmic unnormalized weight of particle n
double GetParticleLogWeight(int n) { return pParticles[n].GetLogWeight(); }
///Return the unnormalized weight of particle n
double GetParticleWeight(int n) { return pParticles[n].GetWeight(); }
///Returns the current evolution time of the system.
long GetTime(void) const {return T;}
///Initialise the sampler and its constituent particles.
void Initialise(void);
///Integrate the supplied function with respect to the current particle set.
double Integrate(double(*pIntegrand)(const Space &,void*), void* pAuxiliary);
///Integrate the supplied function over the path path using the supplied width function.
double IntegratePathSampling(double (*pIntegrand)(long,const particle&,void*), double (*pWidth)(long,void*), void* pAuxiliary);
///Perform one iteration of the simulation algorithm.
void Iterate(void);
///Cancel one iteration of the simulation algorithm.
void IterateBack(void);
///Perform one iteration of the simulation algorithm and return the resulting ess
double IterateEss(void);
///Perform iterations until the specified evolution time is reached
void IterateUntil(long lTerminate);
///Move the particle set by proposing an applying an appropriate move to each particle.
void MoveParticles(void);
///Resample the particle set using the specified resmpling scheme.
void Resample(ResampleType lMode);
///Sets the entire moveset to the one which is supplied
void SetMoveSet(moveset& pNewMoveset) { Moves = pNewMoveset; }
///Set Resampling Parameters
void SetResampleParams(ResampleType rtMode, double dThreshold);
///Dump a specified particle to the specified output stream in a human readable form
std::ostream & StreamParticle(std::ostream & os, long n);
///Dump the entire particle set to the specified output stream in a human readable form
std::ostream & StreamParticles(std::ostream & os);
///Allow a human readable version of the sampler configuration to be produced using the stream operator.
/// std::ostream & operator<< (std::ostream& os, sampler & s);
private:
///Duplication of smc::sampler is not currently permitted.
sampler(const sampler & sFrom);
///Duplication of smc::sampler is not currently permitted.
sampler & operator=(const sampler & sFrom);
};
/// The constructor prepares a sampler for use but does not assign any moves to the moveset, initialise the particles
/// or otherwise perform any sampling related tasks. Its main function is to allocate a region of memory in which to
/// store the particle set and to initialise a random number generator.
///
/// \param lSize The number of particles present in the ensemble (at time 0 if this is a variable quantity)
/// \param htHM The history mode to use: set this to SMC_HISTORY_RAM to store the whole history of the system and SMC_HISTORY_NONE to avoid doing so.
/// \tparam Space The class used to represent a point in the sample space.
template
sampler::sampler(long lSize, HistoryType htHM)
{
pRng = new rng();
N = lSize;
pParticles = new particle[lSize];
//Allocate some storage for internal workspaces
dRSWeights = new double[N];
///Structure used internally for resampling.
uRSCount = new unsigned[N];
///Structure used internally for resampling.
uRSIndices = new unsigned[N];
//Some workable defaults.
htHistoryMode = htHM;
rtResampleMode = SMC_RESAMPLE_STRATIFIED;
dResampleThreshold = 0.5 * N;
}
/// The constructor prepares a sampler for use but does not assign any moves to the moveset, initialise the particles
/// or otherwise perform any sampling related tasks. Its main function is to allocate a region of memory in which to
/// store the particle set and to initialise a random number generator.
///
/// \param lSize The number of particles present in the ensemble (at time 0 if this is a variable quantity)
/// \param htHM The history mode to use: set this to SMC_HISTORY_RAM to store the whole history of the system and SMC_HISTORY_NONE to avoid doing so.
/// \param rngType The type of random number generator to use
/// \param rngSeed The seed to use for the random number generator
/// \tparam Space The class used to represent a point in the sample space.
template
sampler::sampler(long lSize, HistoryType htHM, const gsl_rng_type* rngType, unsigned long rngSeed)
{
pRng = new rng(rngType, rngSeed);
N = lSize;
pParticles = new particle[lSize];
//Allocate some storage for internal workspaces
dRSWeights = new double[N];
///Structure used internally for resampling.
uRSCount = new unsigned[N];
///Structure used internally for resampling.
uRSIndices = new unsigned[N];
//Some workable defaults.
htHistoryMode = htHM;
rtResampleMode = SMC_RESAMPLE_STRATIFIED;
dResampleThreshold = 0.5 * N;
}
template
sampler::~sampler()
{
delete pRng;
if(dRSWeights)
delete [] dRSWeights;
if(uRSCount)
delete [] uRSCount;
if(uRSIndices)
delete [] uRSIndices;
}
template
double sampler::GetESS(void) const
{
long double sum = 0;
long double sumsq = 0;
for(int i = 0; i < N; i++)
sum += expl(pParticles[i].GetLogWeight());
for(int i = 0; i < N; i++)
sumsq += expl(2.0*(pParticles[i].GetLogWeight()));
return expl(-log(sumsq) + 2*log(sum));
}
/// At present this function resets the system evolution time to 0 and calls the moveset initialisor to assign each
/// particle in the ensemble.
///
/// Note that the initialisation function must be specified before calling this function.
template
void sampler::Initialise(void)
{
T = 0;
for(int i = 0; i < N; i++)
pParticles[i] = Moves.DoInit(pRng);
if(htHistoryMode != SMC_HISTORY_NONE) {
while(History.Pop());
nResampled = 0;
History.Push(N, pParticles, 0, historyflags(nResampled));
}
return;
}
/// This function returns the result of integrating the supplied function under the empirical measure associated with the
/// particle set at the present time. The final argument of the integrand function is a pointer which will be supplied
/// with pAuxiliary to allow for arbitrary additional information to be passed to the function being integrated.
///
/// \param pIntegrand The function to integrate with respect to the particle set
/// \param pAuxiliary A pointer to any auxiliary data which should be passed to the function
template
double sampler::Integrate(double(*pIntegrand)(const Space&,void*), void * pAuxiliary)
{
long double rValue = 0;
long double wSum = 0;
for(int i =0; i < N; i++)
{
rValue += expl(pParticles[i].GetLogWeight()) * pIntegrand(pParticles[i].GetValue(), pAuxiliary);
wSum += expl(pParticles[i].GetLogWeight());
}
rValue /= wSum;
return (double)rValue;
}
/// This function is intended to be used to estimate integrals of the sort which must be evaluated to determine the
/// normalising constant of a distribution obtain using a sequence of potential functions proportional to densities with respect
/// to the initial distribution to define a sequence of distributions leading up to the terminal, interesting distribution.
///
/// In this context, the particle set at each time is used to make an estimate of the path sampling integrand, and a
/// trapezoidal integration is then performed to obtain an estimate of the path sampling integral which is the natural logarithm
/// of the ratio of normalising densities.
///
/// \param pIntegrand The quantity which we wish to integrate at each time
/// \param pWidth A pointer to a function which specifies the width of each
template
double sampler::IntegratePathSampling(double (*pIntegrand)(long,const particle &,void*), double (*pWidth)(long,void*), void* pAuxiliary)
{
if(htHistoryMode == SMC_HISTORY_NONE)
throw SMC_EXCEPTION(SMCX_MISSING_HISTORY, "The path sampling integral cannot be computed as the history of the system was not stored.");
History.Push(N, pParticles, nAccepted, historyflags(nResampled));
double dRes = History.IntegratePathSampling(pIntegrand, pWidth, pAuxiliary);
History.Pop();
return dRes;
}
/// The iterate function:
/// -# appends the current particle set to the history if desired
/// -# moves the current particle set
/// -# checks the effective sample size and resamples if necessary
/// -# performs a mcmc step if required
/// -# increments the current evolution time
template
void sampler::Iterate(void)
{
IterateEss();
return;
}
template
void sampler::IterateBack(void)
{
if(htHistoryMode == SMC_HISTORY_NONE)
throw SMC_EXCEPTION(SMCX_MISSING_HISTORY, "An attempt to undo an iteration was made; unforunately, the system history has not been stored.");
History.Pop(&N, &pParticles, &nAccepted, NULL);
T--;
return;
}
template
double sampler::IterateEss(void)
{
//Initially, the current particle set should be appended to the historical process.
if(htHistoryMode != SMC_HISTORY_NONE)
History.Push(N, pParticles, nAccepted, historyflags(nResampled));
nAccepted = 0;
//Move the particle set.
MoveParticles();
//Normalise the weights to sensible values....
double dMaxWeight = -std::numeric_limits::infinity();
for(int i = 0; i < N; i++)
dMaxWeight = std::max(dMaxWeight, pParticles[i].GetLogWeight());
for(int i = 0; i < N; i++)
pParticles[i].SetLogWeight(pParticles[i].GetLogWeight() - (dMaxWeight));
//Check if the ESS is below some reasonable threshold and resample if necessary.
//A mechanism for setting this threshold is required.
double ESS = GetESS();
if(ESS < dResampleThreshold) {
nResampled = 1;
Resample(rtResampleMode);
}
else
nResampled = 0;
//A possible MCMC step should be included here.
for(int i = 0; i < N; i++) {
if(Moves.DoMCMC(T+1,pParticles[i], pRng))
nAccepted++;
}
// Increment the evolution time.
T++;
return ESS;
}
template
void sampler::IterateUntil(long lTerminate)
{
while(T < lTerminate)
Iterate();
}
template
void sampler::MoveParticles(void)
{
for(int i = 0; i < N; i++) {
Moves.DoMove(T+1,pParticles[i], pRng);
// pParticles[i].Set(pNew.value, pNew.logweight);
}
}
template
void sampler::Resample(ResampleType lMode)
{
//Resampling is done in place.
double dWeightSum = 0;
unsigned uMultinomialCount;
//First obtain a count of the number of children each particle has.
switch(lMode) {
case SMC_RESAMPLE_MULTINOMIAL:
//Sample from a suitable multinomial vector
for(int i = 0; i < N; ++i)
dRSWeights[i] = pParticles[i].GetWeight();
pRng->Multinomial(N,N,dRSWeights,uRSCount);
break;
case SMC_RESAMPLE_RESIDUAL:
//Sample from a suitable multinomial vector and add the integer replicate
//counts afterwards.
dWeightSum = 0;
for(int i = 0; i < N; ++i) {
dRSWeights[i] = pParticles[i].GetWeight();
dWeightSum += dRSWeights[i];
}
uMultinomialCount = N;
for(int i = 0; i < N; ++i) {
dRSWeights[i] = N*dRSWeights[i] / dWeightSum;
uRSIndices[i] = unsigned(floor(dRSWeights[i])); //Reuse temporary storage.
dRSWeights[i] = (dRSWeights[i] - uRSIndices[i]);
uMultinomialCount -= uRSIndices[i];
}
pRng->Multinomial(uMultinomialCount,N,dRSWeights,uRSCount);
for(int i = 0; i < N; ++i)
uRSCount[i] += uRSIndices[i];
break;
case SMC_RESAMPLE_STRATIFIED:
default:
{
// Procedure for stratified sampling
dWeightSum = 0;
double dWeightCumulative = 0;
// Calculate the normalising constant of the weight vector
for(int i = 0; i < N; i++)
dWeightSum += exp(pParticles[i].GetLogWeight());
//Generate a random number between 0 and 1/N times the sum of the weights
double dRand = pRng->Uniform(0,1.0 / ((double)N));
int j = 0, k = 0;
for(int i = 0; i < N; ++i)
uRSCount[i] = 0;
dWeightCumulative = exp(pParticles[0].GetLogWeight()) / dWeightSum;
while(j < N) {
while((dWeightCumulative - dRand) > ((double)j)/((double)N) && j < N) {
uRSCount[k]++;
j++;
dRand = pRng->Uniform(0,1.0 / ((double)N));
}
k++;
dWeightCumulative += exp(pParticles[k].GetLogWeight()) / dWeightSum;
}
break;
}
case SMC_RESAMPLE_SYSTEMATIC:
{
// Procedure for stratified sampling but with a common RV for each stratum
dWeightSum = 0;
double dWeightCumulative = 0;
// Calculate the normalising constant of the weight vector
for(int i = 0; i < N; i++)
dWeightSum += exp(pParticles[i].GetLogWeight());
//Generate a random number between 0 and 1/N times the sum of the weights
double dRand = pRng->Uniform(0,1.0 / ((double)N));
int j = 0, k = 0;
for(int i = 0; i < N; ++i)
uRSCount[i] = 0;
dWeightCumulative = exp(pParticles[0].GetLogWeight()) / dWeightSum;
while(j < N) {
while((dWeightCumulative - dRand) > ((double)j)/((double)N) && j < N) {
uRSCount[k]++;
j++;
}
k++;
dWeightCumulative += exp(pParticles[k].GetLogWeight()) / dWeightSum;
}
break;
}
}
//Map count to indices to allow in-place resampling
for (unsigned int i=0, j=0; i0) {
uRSIndices[i] = i;
while (uRSCount[i]>1) {
while (uRSCount[j]>0) ++j; // find next free spot
uRSIndices[j++] = i; // assign index
--uRSCount[i]; // decrement number of remaining offsprings
}
}
}
//Perform the replication of the chosen.
for(int i = 0; i < N ; ++i) {
if(uRSIndices[i] != i)
pParticles[i].SetValue(pParticles[uRSIndices[i]].GetValue());
pParticles[i].SetLogWeight(0);
}
}
/// This function configures the resampling parameters, allowing the specification of both the resampling
/// mode and the threshold at which resampling is used.
///
/// \param rtMode The resampling mode to be used.
/// \param dThreshold The threshold at which resampling is deemed necesary.
///
/// The rtMode parameter should be set to one of the following:
/// -# SMC_RESAMPLE_MULTINOMIAL to use multinomial resampling
/// -# SMC_RESAMPLE_RESIDUAL to use residual resampling
/// -# SMC_RESAMPLE_STRATIFIED to use stratified resampling
/// -# SMC_RESAMPLE_SYSTEMATIC to use systematic resampling
///
/// The dThreshold parameter can be set to a value in the range [0,1) corresponding to a fraction of the size of
/// the particle set or it may be set to an integer corresponding to an actual effective sample size.
template
void sampler::SetResampleParams(ResampleType rtMode, double dThreshold)
{
rtResampleMode = rtMode;
if(dThreshold < 1)
dResampleThreshold = dThreshold * N;
else
dResampleThreshold = dThreshold;
}
template
std::ostream & sampler::StreamParticle(std::ostream & os, long n)
{
os << pParticles[n] << std::endl;
return os;
}
template
std::ostream & sampler::StreamParticles(std::ostream & os)
{
for(int i = 0; i < N - 1; i++)
os << pParticles[i] << std::endl;
os << pParticles[N-1] << std::endl;
return os;
}
}
namespace std {
/// Produce a human-readable display of the state of an smc::sampler class using the stream operator.
/// \param os The output stream to which the display should be made.
/// \param s The sampler which is to be displayed.
template
std::ostream & operator<< (std::ostream & os, smc::sampler & s)
{
os << "Sampler Configuration:" << std::endl;
os << "======================" << std::endl;
os << "Evolution Time: " << s.GetTime() << std::endl;
os << "Particle Set Size:" << s.GetNumber() << std::endl;
os << std::endl;
os << "Particle Set:" << std::endl;
s.StreamParticles(os);
os << std::endl;
return os;
}
}
#endif
include/smctc.hh 0000755 0001750 0001750 00000010427 13121737222 012530 0 ustar adam adam //
// smctc.h
//
// The principle header file for the SMC template class.
//
// Copyright Adam Johansen, 2008
//
//
// This file is part of SMCTC.
//
// SMCTC is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// SMCTC is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with SMCTC. If not, see .
//
/// \mainpage smctc -- A Template Class Library for SMC Simulation
///
/// \version 1.0
/// \author Adam M. Johansen
///
/// \section intro_sec Summary
///
/// The SMC template class library (SMCTC) is intended to be used to implement SMC
/// algorithms ranging from simple particle filter to complicated SMC algorithms
/// from simple particle filters to the SMC samplers of Del Moral, Doucet and Jasra (2006)
/// within a generic framework.
///
/// \section license License
///
/// SMCTC is free software: you can redistribute it and/or modify
/// it under the terms of the GNU General Public License as published by
/// the Free Software Foundation, either version 3 of the License, or
/// (at your option) any later version.
///
/// SMCTC is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU General Public License for more details.
///
/// You should have received a copy of the GNU General Public License
/// along with SMCTC. If not, see .
///
/// The software is still in development but is thought to be sufficiently fully-featured and
/// stable for use.
///
/// \section using_sec Using the Template Library
///
/// In order to use the template libary it is necessary to place the set of header files in
/// a suitable include directory and then to instantiate the various classes with the
/// appropriate type for your sampler.
///
/// For implementation details, please see the accompanying user guide.
///
///
/// \section example_sec Examples
///
/// \subsection A Simple Particle Filter
///
/// This example provides a simple particle filter for the approximate filtering of
/// nonlinear, nongaussian state space models.
///
/// \subsection SMC Samplers for Rare Event Simulation
///
/// The main.cc file provides an example of a use of the template library to estimate
/// Gaussian tail probabilities within an SMC samplers framework by making use of a sequence
/// of intermediate distributions defined by introducing a potential function which
/// varies from flat to being very close to an indicator function on the tail event.
///
/// This example is taken from from Johansen, Del Moral and Doucet (2006).
///
/// \subsection Acknowledgements
///
/// Thanks are due to Edmund Jackson and Mark Briers for testing SMCTC on a variety of platforms.
/// The Visual C++ project and solution files are kindly provided by Mark Briers.
///
//! \file
//! \brief The main header file for SMCTC.
//!
//! This file serves as an interface between user-space programs and the SMCTC library.
//! This is the only header file which applications need to include to make use of the library (it includes
//! such additional files as are necessary).
#ifndef __SMC_TDSMC_HH
#define __SMC_TDSMC_HH 1.0
#include
#include
#include
#include
#include "smc-exception.hh"
#include "sampler.hh"
/// The Sequential Monte Carlo namespace
///
/// The classes and functions within this namespace are intended to be used for producing
/// implemenetations of SMC samplers and related simulation techniques.
namespace smc {}
/// The standard namespace
/// The classes provided within the standard libraries reside within this namespace and
/// the TDSMC class library adds a number of additional operator overloads to some of
/// the standard classes to allow them to deal with our structures.
namespace std {}
#endif
include/moveset.hh 0000755 0001750 0001750 00000017564 13121737222 013112 0 ustar adam adam // SMCTC: moveset.hh
//
// Copyright Adam Johansen, 2008.
//
// This file is part of SMCTC.
//
// SMCTC is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// SMCTC is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with SMCTC. If not, see .
//
//! \file
//! \brief Classes and functions which deal with collections of sampler proposal "moves".
//!
//! This file contains definitions of smc::moveset.
//! It deals with the collections of proposal moves (including initialisation and MCMC moves) which must be dealt with by the sampler.
#ifndef __SMC_MOVESET_HH
#define __SMC_MOVESET_HH 1.0
#include "particle.hh"
//#include "rng.hh"
namespace smc {
/// A template class for a set of moves for use in an SMC samplers framework.
template class moveset
{
private:
///The number of moves which are present in the set
long number;
///The function which initialises a particle.
particle (*pfInitialise)(rng*);
///The function which selects a move for a given particle at a given time.
long (*pfMoveSelect)(long , const particle &, rng*);
///The functions which perform actual moves.
void (**pfMoves)(long, particle &, rng*);
///A Markov Chain Monte Carlo move.
int (*pfMCMC)(long,particle &, rng*);
public:
///Create a completely unspecified moveset
moveset();
///Create a reduced moveset with a single move
moveset(particle (*pfInit)(rng*),
void (*pfNewMoves)(long, particle &,rng*),
int (*pfNewMCMC)(long,particle &,rng*));
///Create a fully specified moveset
moveset(particle (*pfInit)(rng*),long (*pfMoveSelector)(long , const particle &,rng*),
long nMoves, void (**pfNewMoves)(long, particle &,rng*),
int (*pfNewMCMC)(long,particle &,rng*));
///Initialise a particle
particle DoInit(rng * pRng) { return (*pfInitialise)(pRng);};
///Perform an MCMC move on a particle
int DoMCMC(long lTime, particle & pFrom, rng* pRng);
///Select an appropriate move at time lTime and apply it to pFrom
void DoMove(long lTime, particle