<commit_before>/*
 * Parameters.java
 *
 * Copyright (C) 2008  <NAME>
 *
 * This file is part of Open-NARS.
 *
 * Open-NARS is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * Open-NARS is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Open-NARS.  If not, see <http://www.gnu.org/licenses/>.
 */
package nars.core;


/**
 * NAR operating parameters.
 * All static values will be removed so that this is an entirely dynamic class.
 */
public class Parameters {
    
    
    //FIELDS BELOW ARE BEING CONVERTED TO DYNAMIC, NO MORE STATIC: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    //
    //Pei comments: parameters will be separated into a dynamic group and a static group
    //              and the latter contains "personality parameters" that cannot be changed
    //              in the lifetime of the system, though different systems may take different
    //              values. For example, to change HORIZON dynamically will cause inconsistency 
    //              in evidence evaluation.
    
    public static boolean TEMPORAL_PARTICLE_PLANNER=true;
    
    public static boolean INTERNAL_EXPERIENCE_FULL=false;
    
    //if one event happens after another, it already gives at least a bit evidence that this is not time dependent.
    public static float IMMEDIATE_ETERNALIZATION_CONFIDENCE_MUL=0.5f;
    
    //how much more priority should =/> =|> gain?
    public static float TEMPORAL_JUDGEMENT_PRIORITY_INCREMENT=0.5f;
    
    
    //internal experience has less durability?
    public static float INTERNAL_EXPERIENCE_DURABILITY_MUL=0.5f;
    //internal experience has less priority?
    public static float INTERNAL_EXPERIENCE_PRIORITY_MUL=0.5f;
    //internal experience has less quality?
    public static float INTERNAL_EXPERIENCE_QUALITY_MUL=0.5f;
    
    

    
    

    /* ---------- logical parameters ---------- */
    /** Evidential Horizon, the amount of future evidence to be considered. 
     * Must be >=1.0, usually 1 .. 2
     */
    public static final float HORIZON = 1;
    
    /** Reliance factor, the empirical confidence of analytical truth. */
    public static final float RELIANCE = (float) 0.9;    // the same as default confidence
    
<commit_msg>adjust new params.<commit_after>/*
 * Parameters.java
 *
 * Copyright (C) 2008  <NAME>
 *
 * This file is part of Open-NARS.
 *
 * Open-NARS is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * Open-NARS is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Open-NARS.  If not, see <http://www.gnu.org/licenses/>.
 */
package nars.core;


/**
 * NAR operating parameters.
 * All static values will be removed so that this is an entirely dynamic class.
 */
public class Parameters {
    
    
    //FIELDS BELOW ARE BEING CONVERTED TO DYNAMIC, NO MORE STATIC: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    //
    //Pei comments: parameters will be separated into a dynamic group and a static group
    //              and the latter contains "personality parameters" that cannot be changed
    //              in the lifetime of the system, though different systems may take different
    //              values. For example, to change HORIZON dynamically will cause inconsistency 
    //              in evidence evaluation.
    
    public static boolean TEMPORAL_PARTICLE_PLANNER=true;
    
    public static boolean INTERNAL_EXPERIENCE_FULL=false;
    
    //if one event happens after another, it already gives at least a bit evidence that this is not time dependent.
    public static float IMMEDIATE_ETERNALIZATION_CONFIDENCE_MUL=0.1f;
    
    //how much more priority should =/> =|> gain?
    public static float TEMPORAL_JUDGEMENT_PRIORITY_INCREMENT=0.0f;
    
    
    //internal experience has less durability?
    public static float INTERNAL_EXPERIENCE_DURABILITY_MUL=0.5f;
    //internal experience has less priority?
    public static float INTERNAL_EXPERIENCE_PRIORITY_MUL=0.5f;
    //internal experience has less quality?
    public static float INTERNAL_EXPERIENCE_QUALITY_MUL=0.5f;
    
    

    
    

    /* ---------- logical parameters ---------- */
    /** Evidential Horizon, the amount of future evidence to be considered. 
     * Must be >=1.0, usually 1 .. 2
     */
    public static final float HORIZON = 1;
    
    /** Reliance factor, the empirical confidence of analytical truth. */
    public static final float RELIANCE = (float) 0.9;    // the same as default confidence
    

{'fraction_non_alphanumeric': 0.08344320964400076, 'fraction_numerical': 0.008287813147485402, 'mean_word_length': 2.7766714082503556, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2537919', 'n_tokens_mistral': 1479, 'n_tokens_neox': 1422, 'n_words': 608}