Esempio n. 1
0
        static int _m_GetHeuristic(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                PF.EuclideanEmbedding gen_to_be_invoked = (PF.EuclideanEmbedding)translator.FastGetCSObj(L, 1);



                {
                    int _nodeIndex1 = LuaAPI.xlua_tointeger(L, 2);
                    int _nodeIndex2 = LuaAPI.xlua_tointeger(L, 3);

                    uint gen_ret = gen_to_be_invoked.GetHeuristic(_nodeIndex1, _nodeIndex2);
                    LuaAPI.xlua_pushuint(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }