Changeset 535
- Timestamp:
- 01/04/10 15:14:19 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/src/libvtcross/libvtcross_demo.cpp
r412 r535 15 15 */ 16 16 17 /* TODO DESCRIPTION OF FILE.18 *19 * This file is a temporary demo of a policy engine using some of our socket20 * communication functions. This is *not* an actual implementation of our21 * defined PolicyEngine class.22 */23 24 17 25 18 #include <cstdlib> … … 35 28 main(int32_t argc, char *argv[]) 36 29 { 30 /* Set the location to localhost for this simple demo. */ 31 SetCrossShellLocation("localhost", "40000"); 32 37 33 for(size_t i = 0; i < 10; i++) { 38 34 Observable *o = new Observable[2]; … … 58 54 currentParameters[1].value = p[1].value; 59 55 } 56 57 LOG("Application:: Requesting parameter optimization.\n"); 60 58 61 59 p = GetOptimalParameters(o,2,currentParameters,2);