source: trunk/CrypPlugins/WorkspaceManager/View/VisualComponents/CryptoLineView/StackFrameDijkstra/Node.cs @ 1928

Last change on this file since 1928 was 1928, checked in by matkovic, 11 years ago

-Fixed some Collections issues

File size: 569 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6namespace WorkspaceManager.View.VisualComponents.StackFrameDijkstra
7{
8    public interface Node<T> where T : Node<T>
9    {
10        /**
11         * Returns the cost to get from this node to the dest node.
12         *
13         * @return the cost
14         */
15        double traverseCost(T dest);
16
17        /**
18         * Returns the neighbors of this node.
19         *
20         * @return the neighbors
21         */
22        IEnumerable<T> neighbors();
23
24    }
25
26}
Note: See TracBrowser for help on using the repository browser.