<commit_before>﻿using System.Collections.Generic;
using UrdfUnity.Util;

namespace UrdfUnity.Urdf.Models
{
    /// <summary>
    /// Represents a robot model that consists of a set of link and joint elements.
    /// </summary>
    /// <seealso cref="http://wiki.ros.org/urdf/XML/model"/>
    public class Robot
    {
        /// <summary>
        /// The name of the robot model.
        /// </summary>
        /// <value>Required.</value>
        public string Name { get; }

        /// <summary>
        /// The robot's links that are connected by its joints.
        /// </summary>
        /// <value>Required.</value>
        public List<Link> Links { get; }

        /// <summary>
        /// The robot's joints that connect its links together.
        /// </summary>
        /// <value>Required.</value>
        public List<Joint> Joints { get; }


        /// <summary>
        /// Creates a new instance of Robot with empty lists of Links and Joints.
        /// </summary>
        public Robot(string name) : this(name, new List<Link>(), new List<Joint>())
        {
            // Invoke overloaded constructor.
        }

        /// <summary>
        /// Creates a new instance of Robot with the specified links and joints.
        /// </summary><commit_msg>Quick fix to method comments on URDF Robot model class<commit_after>﻿using System.Collections.Generic;
using UrdfUnity.Util;

namespace UrdfUnity.Urdf.Models
{
    /// <summary>
    /// Represents a robot model that consists of a set of link and joint elements.
    /// </summary>
    /// <seealso cref="http://wiki.ros.org/urdf/XML/model"/>
    /// <seealso cref="Link"/>
    /// <seealso cref="Joint"/>
    public class Robot
    {
        /// <summary>
        /// The name of the robot model.
        /// </summary>
        /// <value>Required.</value>
        public string Name { get; }

        /// <summary>
        /// The robot's links that are connected by its joints.
        /// </summary>
        /// <value>Required.</value>
        public List<Link> Links { get; }

        /// <summary>
        /// The robot's joints that connect its links together.
        /// </summary>
        /// <value>Required.</value>
        public List<Joint> Joints { get; }


        /// <summary>
        /// Creates a new instance of Robot with empty lists of Links and Joints.
        /// </summary>
        /// <param name="name">The name of the robot model</param>
        public Robot(string name) : this(name, new List<Link>(), new List<Joint>())
        {
            // Invoke overloaded constructor.
        }

        /// <summary>
        /// Creates a new instance of Robot with the specified links and joints.
        /// </summary>
        /// <param name="name">The name of the robot model</param>
{'fraction_non_alphanumeric': 0.14521926671459381, 'fraction_numerical': 0.0, 'mean_word_length': 1.7071984435797665, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3832115', 'n_tokens_mistral': 783, 'n_tokens_neox': 742, 'n_words': 248}