Changeset 6760 for branches/PersistenceSpeedUp/HeuristicLab.Encodings.RealVectorEncoding/3.3/Tests/PolynomialAllPositionManipulatorTest.cs
- Timestamp:
- 09/14/11 13:59:25 (13 years ago)
- Location:
- branches/PersistenceSpeedUp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceSpeedUp
- Property svn:ignore
-
old new 12 12 *.psess 13 13 *.vsp 14 *.docstates
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/PersistenceSpeedUp/HeuristicLab.Encodings.RealVectorEncoding/3.3/Tests/PolynomialAllPositionManipulatorTest.cs
r5445 r6760 92 92 random.DoubleNumbers = new double[] { 0.2, 0.7, 0.8, 0.01, 0.1 }; 93 93 parent = new RealVector(new double[] { 0.2, 0.2, 0.3, 0.5, 0.1 }); 94 expected = new RealVector(new double[] { 0.120213215256006, 0. 336631954950876, 0.474551336679454, 0.322759240811056, -0.0182075293954083 });94 expected = new RealVector(new double[] { 0.120213215256006, 0.249415354697564, 0.379786784743994, 0.322759240811056, -0.0182075293954083 }); 95 95 contiguity = new DoubleValue(0.8); 96 96 maxManipulation = new DoubleValue(0.2); … … 106 106 try { 107 107 PolynomialAllPositionManipulator.Apply(random, parent, contiguity, maxManipulation); 108 } 109 catch (System.ArgumentException) { 108 } catch (System.ArgumentException) { 110 109 exceptionFired = true; 111 110 }
Note: See TracChangeset
for help on using the changeset viewer.