Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/DataSources/OneDimensional/IPointEnumerator.cs @ 12503

Last change on this file since 12503 was 12503, checked in by aballeit, 9 years ago

#2283 added GUI and charts; fixed MCTS

File size: 831 bytes
Line 
1using System;
2using System.Windows;
3
4namespace Microsoft.Research.DynamicDataDisplay.DataSources
5{
6  public interface IPointEnumerator : IDisposable {
7        /// <summary>Move to next point in sequence</summary>
8        /// <returns>True if successfully moved to next point
9        /// or false if end of sequence is reached</returns>
10    bool MoveNext();
11
12        /// <summary>Stores current value(s) in given point.</summary>
13        /// <param name="p">Reference to store value</param>
14        /// <remarks>Depending on implementing class this method may set only X or Y
15        /// fields in specified point. That's why GetCurrent is a regular method and
16        /// not a property as in standard enumerators</remarks>
17    void GetCurrent(ref Point p);
18
19    void ApplyMappings(DependencyObject target);
20  }
21}
Note: See TracBrowser for help on using the repository browser.