Changeset 535

Show
Ignore:
Timestamp:
01/04/10 15:14:19 (14 years ago)
Author:
bhilburn
Message:

Final commit of engineTreeFix branch.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/libvtcross/libvtcross_demo.cpp

    r412 r535  
    1515*/ 
    1616 
    17 /* TODO DESCRIPTION OF FILE. 
    18  * 
    19  * This file is a temporary demo of a policy engine using some of our socket 
    20  * communication functions. This is *not* an actual implementation of our 
    21  * defined PolicyEngine class. 
    22  */ 
    23  
    2417 
    2518#include <cstdlib> 
     
    3528main(int32_t argc, char *argv[]) 
    3629{ 
     30    /* Set the location to localhost for this simple demo. */ 
     31    SetCrossShellLocation("localhost", "40000"); 
     32 
    3733    for(size_t i = 0; i < 10; i++) { 
    3834        Observable *o = new Observable[2]; 
     
    5854            currentParameters[1].value = p[1].value; 
    5955        } 
     56 
     57        LOG("Application:: Requesting parameter optimization.\n"); 
    6058 
    6159        p = GetOptimalParameters(o,2,currentParameters,2);