Example #1
0
        private SvenKey TopKey( )
        {
            var _ = U.TopKey( );

            if (_ == null)
            {
                _ = new SvenKey( )
                {
                    k1 = Metric.PositiveInfinity,
                    k2 = Metric.PositiveInfinity
                };
            }
            return(_);
        }
Example #2
0
        private static SvenKey TopKey(AnytimeDStarState aS)
        {
            var _ = aS.OPEN.TopKey( );

            if (_ == null)
            {
                _ = new SvenKey( )
                {
                    k1 = Metric.PositiveInfinity,
                    k2 = Metric.PositiveInfinity
                };
            }
            return(_);
        }