Created
September 20, 2016 06:02
-
-
Save robinfang/4b2bf687c851e0425bddf8c1439d7d1b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| struct Node_time { | |
| int node_id; | |
| double trial_time; | |
| Node_time(int i, double t): node_id(i), trial_time(t) {} | |
| bool operator<(const Node_time &rhs) const { | |
| return trial_time > rhs.trial_time; | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment