Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GA] Const correctness in Genotype #28

Open
Kri5t0fK opened this issue Mar 27, 2023 · 0 comments
Open

[GA] Const correctness in Genotype #28

Kri5t0fK opened this issue Mar 27, 2023 · 0 comments
Assignees

Comments

@Kri5t0fK
Copy link
Owner

Kri5t0fK commented Mar 27, 2023

Maybe also add get() for entire List _oddVertices?

/// <summary>
/// Genotype: a list of even number of "odd vertices".
/// Odd vertices - vertices with odd number of neighbours.
/// </summary>
private readonly List<Graph.Vertex> _oddVertices;
// Read-only Indexer for accesing the list
public Graph.Vertex this[int i]
{
get { return this._oddVertices[i]; }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants