Browse Source

Version num.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2167 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 15 years ago
parent
commit
801df965c7
  1. 3
      prism/NOTES
  2. 8
      prism/src/prism/Prism.java

3
prism/NOTES

@ -9,7 +9,7 @@ TODO (before any release)
PTAs:
* GUI
* Tidy prism-examples/pta, incl. delete brp
* Tidy prism-examples/pta
* Clarify semantic/type checks (consistency with games/digital)
* Check guards/invariants for convexity (for now, neither can be non-convex, see below)
* Clarify time divergence issues
@ -87,6 +87,7 @@ PTAs:
* BRP example
* Translate non-convex guards to DNF and multiple transitions
* Investigate whether non-convex invariants can be supported (look at zone ops)
* BRP example
* Games: Optimise number of states in time-bounded PTAs
(extras added in old target states) using until in forwards reach?

8
prism/src/prism/Prism.java

@ -47,7 +47,9 @@ import pta.*;
public class Prism implements PrismSettingsListener
{
// prism version
private static String version = "3.3.dev";
private static String version = "4.0.alpha";
// prism version suffix
private static String versionSuffix = ".$Rev$";
//------------------------------------------------------------------------------
// Constants
@ -382,7 +384,7 @@ public class Prism implements PrismSettingsListener
// get methods
public static String getVersion()
{ return version; }
{ return version + versionSuffix; }
public PrismLog getMainLog()
{ return mainLog; }
@ -647,7 +649,7 @@ public class Prism implements PrismSettingsListener
public void initialise() throws PrismException
{
mainLog.print("PRISM\n=====\n");
mainLog.print("\nVersion: " + version + "\n");
mainLog.print("\nVersion: " + getVersion() + "\n");
mainLog.print("Date: " + new java.util.Date() + "\n");
try {
String h = java.net.InetAddress.getLocalHost().getHostName();

Loading…
Cancel
Save