Commit graph

19 commits

Author SHA1 Message Date
Renan DelValle
291f4f3979
Adding GPLv3 Licensing. 2018-10-06 20:03:14 -07:00
Pradyumna Kaushik
b807625b78 Fixed the comments to be capitalized at the start and also terminate with a period. 2017-09-28 15:36:47 -04:00
Pradyumna Kaushik
64de61ac4e added function to initial list of Pairs from a map[string]float64. Removed unnecessary import. 2017-02-22 20:07:48 -05:00
Pradyumna Kaushik
de4e4c0141 removed unnecessary function. 2017-02-21 22:27:08 -05:00
Pradyumna Kaushik
13479e03a4 formatted files 2017-02-11 00:05:42 -05:00
Pradyumna Kaushik
fdcb401447 Made classMapWatts a commandLine option where one can enable and disable mapping of watts to powerclasses when accepting offers from Mesos. Removed the schedulers that were created solely for the classMapWatts feature. Retrofitted all schedulers to use the powerClass mapped watts attribute for a task, if classMapWatts has been enabled. Removed unnecessary functions and variables from constants.go. Removed unnecessary functions from utilities/utils.go. Fixed operator precendence issue with takeOffer(...) in some of the schedulers. Added TODO to decouple capping strategies from the schedulers completely. Added TODO to move all the common struct attributes in the schedulers into base.go. 2017-02-09 18:05:38 -05:00
Renan DelValle
147bbc8b5a Fixing commit history 2016-12-22 23:27:18 -05:00
Renan DelValle
71c889982f resolved merge conflicts 2016-12-22 23:17:01 -05:00
Pradyumna Kaushik
50d1d79051 fixed naming convensions to be camel cased. Reformatted the code. 2016-12-22 22:59:03 -05:00
Pradyumna Kaushik
6ae59d4be5 Revert "Removed a comment"
This reverts commit fcdffb5c1006d7938d8be4aacad7ec5a7b78f20e.
2016-12-22 22:59:03 -05:00
Pradyumna Kaushik
2a9c0eb81a Removed a comment 2016-12-22 22:59:03 -05:00
Pradyumna Kaushik
81d795f197 formatted the code 2016-12-22 22:59:03 -05:00
Pradyumna Kaushik
04d6d4b631 Utility data structures and functions. 2016-12-22 22:59:02 -05:00
Pradyumna Kaushik
1321010d6f Changed comment. The utility can be used to sort any map[string]float64 by value, and not just availablePower. 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
6aa849bbe7 fixed naming convensions to be camel cased. Reformatted the code. 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
262b13e6b7 Revert "Removed a comment"
This reverts commit fcdffb5c1006d7938d8be4aacad7ec5a7b78f20e.
2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
7ef10e6310 Removed a comment 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
892d9b86dc formatted the code 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
0d6b714e1d Utility data structures and functions. 2016-12-22 22:58:59 -05:00