Skip to content

Instantly share code, notes, and snippets.

@matarillo
Created November 1, 2009 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matarillo/223366 to your computer and use it in GitHub Desktop.
Save matarillo/223366 to your computer and use it in GitHub Desktop.
public class Node
{
public string Name { get; private set; }
public ICollection<Node> Neighbors { get; private set; }
public Vector R { get; set; }
public Vector V { get; set; }
public Node(string name)
{
this.Name = name;
this.Neighbors = new List<Node>();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment