AIMA.Core.Logic.FOL.KB.Data.Chain.getLiterals C# (CSharp) Method

getLiterals() public method

public getLiterals ( ) : List
return List
        public List<Literal> getLiterals()
        {
            return new ReadOnlyCollection<Literal>(literals).ToList<Literal>();
        }

Usage Example

        public static int standardizeApart(Chain c, int saIdx) {
		List<Variable> variables = new List<Variable>();
		foreach (Literal l in c.getLiterals()) {
			collectAllVariables(l.getAtomicSentence(), variables);
		}

		return standardizeApart(variables, c, saIdx);
	}
All Usage Examples Of AIMA.Core.Logic.FOL.KB.Data.Chain::getLiterals