Package edu.cmu.tetrad.util
Class Version
java.lang.Object
edu.cmu.tetrad.util.Version
- All Implemented Interfaces:
- TetradSerializable,- Serializable
Represents the getModel Tetrad version. This needs to be modified manually
 each time a new version is released. The form of the version is a.b.c-d,
 where "a" is the major version, "b" is the minor version, "c" is the minor
 subversion, and "d" is the incremental release number for subversions.
- Author:
- Joseph Ramsey
- See Also:
- 
Constructor Details- 
VersionParses string version specs into Versions.- Parameters:
- spec- A string of the form a.b.c-d.
 
 
- 
- 
Method Details- 
currentRepositoryVersion- Returns:
- the model version as stored in project/resources/version. This will be the same as the getModel viewable version when the ejar and task is run. (The file is copied over.)
 
- 
currentViewableVersion- Returns:
- the model version as stored in the ejar. To sync this with the version at project/resources/version, run the ejar ant task.
 
- 
serializableInstanceGenerates a simple exemplar of this class to test serialization.
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
- 
nextMajorVersion
- 
nextMinorVersion
- 
nextMinorSubversion
- 
nextIncrementalRelease
 
-