A Boolean variable has either 0 or 1 as its value. (correct me if I'm wrong) If 'Boolean' is used as an adjective, it means, either that entity exists or does not exist (but no both). For example:

A Boolean feature is a feature that may be present or absent [not both] in the final product. Example: the feature "Moon roof" would be type Boolean, since it's either in or out.

However, I'm dealing with some features that either exist, does not exist, or their multiple copies exist. For example, a railway station consists of signals, and locks. A certain railway station may have 10 signals and 3 locks.

I have idea that variable should be used but this word does not convey proper sense.

  • 1
    Integer. Or integral as an adjective.
    – Dan Bron
    Sep 6 at 15:45
  • 7
    There isn't an "antonym" because there are lots of other types of variable. "Number of seats" is integer valued. "Horsepower" and "length" are continuous. "Fuel type" is one of a limited range of options - gasoline, diesel, electric etc. "Model name" can be anything. The only antonym is the obvious "non-boolean". Sep 6 at 15:56
  • 1
    @DJClayworth I agree that no antonym is possible. If the PO dislikes "non-Boolean", perhaps the features could be termed multivariates, by creating the adjectival noun "multivariate".
    – Anton
    Sep 6 at 16:08
  • 1
    "Multivariate" excludes variables that have only two options, but are not boolean (e.g. fuel type= gasoline or diesel). Sep 6 at 16:12
  • What would the logical opposite of boolean even be? Any positive integer above 1? Or would it include any lack of something above 1 (i.e. ...-1, 2 ...)? My point being: it seems you aren't looking for an antonym of boolean, but a word that includes additional possibilities.
    – Joachim
    Sep 6 at 17:25


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.