diff options
author | Luong Hoang <lhoang@live.com> | 2014-10-20 19:10:58 +0400 |
---|---|---|
committer | Luong Hoang <lhoang@live.com> | 2014-10-20 19:10:58 +0400 |
commit | dc7bbb3b56a2a37e2c1f7353c526173fa208faed (patch) | |
tree | 6a6f0c239ba22f10f2c98796eae91cf9304a84c1 /cs_test | |
parent | 578eb7256b5a5adbc8c751acd49f521d71e9b7f1 (diff) |
added sample statefulpolicyfunc to compile clock code
Diffstat (limited to 'cs_test')
-rw-r--r-- | cs_test/ExploreClock.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cs_test/ExploreClock.cs b/cs_test/ExploreClock.cs index 68767999..b6f4606a 100644 --- a/cs_test/ExploreClock.cs +++ b/cs_test/ExploreClock.cs @@ -8,6 +8,10 @@ namespace cs_test {
public class ExploreClock
{
+ private static UInt32 SampleStatefulPolicyFunc(int policyParams, CONTEXT appContext)
+ {
+ return (uint)((policyParams + appContext.Features.Length) % 10 + 1);
+ }
public static void Clock()
{
float epsilon = .2f;
|