Navigation Menu

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

Fix orientation bug #88

Merged
merged 2 commits into from Oct 20, 2020
Merged

Fix orientation bug #88

merged 2 commits into from Oct 20, 2020

Conversation

ablaom
Copy link
Member

@ablaom ablaom commented Oct 20, 2020

#87

@ablaom ablaom changed the base branch from master to dev October 20, 2020 02:20
error("`weights` must be non-negative. ")
end
return NaiveSelection(weights)
end

function best(heuristic::NaiveSelection, history)
first_entry = history[1]
measures = first_entry.measure
weights = measure_adjusted_weights(heuristic.weights, measures)
measurements = [weights'*(h.measurement) for h in history]
measure = first(history).measure[1]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the measure variiable in measure = first(history).measure[1] for

src/selection_heuristics.jl Show resolved Hide resolved
@ablaom ablaom merged commit 2b0c060 into dev Oct 20, 2020
@ablaom ablaom mentioned this pull request Oct 20, 2020
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants