Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections.Generic;
- namespace FileCreator
- {
- public class GraphObject
- {
- private int offsetGraph { get; set; }
- private int offsetName { get; set; }
- public int id { get; set; }
- private List<int> neightbours { get; set; }
- private bool isArticle { get; set; }
- public GraphObject()
- {
- neightbours = new List<int>();
- }
- void addNeightbour(int nID)
- {
- neightbours.Add(nID);
- }
- public int amountOfNeightbours()
- {
- return this.neightbours.Count;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement