public override void Start() { if (function == null) { } // throw exception ndim = Point.Count; nVertices = ndim + 1; if (Scale == null) { if (DefaultEdgeSize == 0) { DefaultEdgeSize = 1; } MakeEdges(); } // HS: allow recreating the vertices every time to ensure we start finding a new solution if (Vertices == null || ForceVertexCreation == true) { MakeVertices(); } if (MaxNumIterations == 0) { MaxNumIterations = 10000; } if (verbose == true && HF == null) { string defaultFileName = "AmoebaHistory.txt"; HF = new HistoryFile(defaultFileName); } minimize(); if (verbose == true) { HF.Close(); } }