Class SimpleSamplingMlnReasoner

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int numOfPositiveTests  
      private double precision
      The computation is aborted when the given precision is reached for at least numOfPositive number of consecutive tests.
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleSamplingMlnReasoner​(double precision, int numOfPositiveTests)
      Creates a new SimpleSamplingMlnReasoner for the given Markov logic network.
    • Field Detail

      • precision

        private double precision
        The computation is aborted when the given precision is reached for at least numOfPositive number of consecutive tests.
      • numOfPositiveTests

        private int numOfPositiveTests
    • Constructor Detail

      • SimpleSamplingMlnReasoner

        public SimpleSamplingMlnReasoner​(double precision,
                                         int numOfPositiveTests)
        Creates a new SimpleSamplingMlnReasoner for the given Markov logic network.
        Parameters:
        precision - the precision
        numOfPositiveTests - the number of positive consecutive tests on precision