Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] vType attributes vs. vClass defaults

Yes.

Am Di., 27. Feb. 2024 um 16:29 Uhr schrieb Sasan Amini via sumo-user <sumo-user@xxxxxxxxxxx>:
thanks. Another related question: if I don't specify vClass when
defining a vType, "passenger" class will be automatically assigned to
it. Am I understand this correctly?

On Tue, Feb 27, 2024 at 2:50 PM Jakob Erdmann via sumo-user
<sumo-user@xxxxxxxxxxx> wrote:
>
> No. user-defined attributes always take precedence.
>
> Am Di., 27. Feb. 2024 um 14:02 Uhr schrieb Sasan Amini via sumo-user <sumo-user@xxxxxxxxxxx>:
>>
>> Dear all,
>>
>> I have a question about vehicle type/class definition. If I define a vType as:
>> <vType id="test1" minGap="1.5" length="6" probability="0.86"
>> speedFactor="0.90" emissionClass="PHEMlight/PC_G_EU4"
>> vClass="passenger"/>
>> would the attributes such as minGap and length etc. be overwritten by
>> the default ones from vClass=passenger?
>>
>> Best,
>> Sasan
>> _______________________________________________
>> sumo-user mailing list
>> sumo-user@xxxxxxxxxxx
>> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top