示例#1
0
//------------------------------------------------------------------------------
//  FROM HERE DOWN NOT PART OF API (IMPLEMENTATION)
//------------------------------------------------------------------------------
        public static void Initialize()
        {
            Console.Write("Searches: Initializing...");

            try
            {
                m_OctantSearch = new OctantSearch(24);
                m_CircleSearch = new CircleSearch(24);
                m_SpiralSearch = new SpiralSearch( );
                m_LineSearch   = new LineSearch();
            }
            catch (Exception e)
            {
                Console.WriteLine("failed!");
                Console.WriteLine(e);
            }

            Console.WriteLine("done");
        }
示例#2
0
//------------------------------------------------------------------------------
//  FROM HERE DOWN NOT PART OF API (IMPLEMENTATION)
//------------------------------------------------------------------------------
        public static void Initialize()
        {
            Console.WriteLine("Searches: Initializing....");

            try
            {
                m_OctantSearch = new OctantSearch(24);
                m_CircleSearch = new CircleSearch(24);
                m_SpiralSearch = new SpiralSearch( );
                m_LineSearch   = new LineSearch();
            }
            catch (Exception e)
            {
                Console.WriteLine("Searches: ***INITIALIZATION FAILED!!!***");
                Console.WriteLine(e);
                Console.WriteLine("##### FATAL ERROR ##### STOPPING SERVER #####");
                //throw;
            }
        }
示例#3
0
//------------------------------------------------------------------------------
//  FROM HERE DOWN NOT PART OF API (IMPLEMENTATION)
//------------------------------------------------------------------------------
    public static void Initialize()
    {
        Console.Write("Searches: Initializing...");

        try
        {
            m_OctantSearch  = new OctantSearch( 24 );
            m_CircleSearch  = new CircleSearch( 24 );
            m_SpiralSearch  = new SpiralSearch( );
            m_LineSearch    = new LineSearch();
        }
        catch( Exception e )
        {
			Console.WriteLine( "failed!" );
            Console.WriteLine( e );
        }

		Console.WriteLine( "done" );
    }
示例#4
0
//------------------------------------------------------------------------------
//  FROM HERE DOWN NOT PART OF API (IMPLEMENTATION)
//------------------------------------------------------------------------------
    public static void Initialize()
    {
        Console.WriteLine("Searches: Initializing....");

        try
        {
            m_OctantSearch  = new OctantSearch( 24 );
            m_CircleSearch  = new CircleSearch( 24 );
            m_SpiralSearch  = new SpiralSearch( );
            m_LineSearch    = new LineSearch();
        }
        catch( Exception e )
        {
            Console.WriteLine("Searches: ***INITIALIZATION FAILED!!!***");
            Console.WriteLine( e );
            Console.WriteLine("##### FATAL ERROR ##### STOPPING SERVER #####");
            //throw;
        }
    }