Re: String searching and lienar optimization

This is a discussion on Re: String searching and lienar optimization within the pl1 forums in Programming Languages category; <almurph @ altavista.com> wrote in message news:b65a3b80-d543-463e-8a24-52adc8284eb7 @ 8g2000hse.googlegroups.com... > Hi, > > Hope you can help me here and apologies if i'm in the wrong forum. > I want to use a linear programming technique to optimize the searching > of a string (and string like it) inside another (much longer) string. > For example say I am looking for the pattern "abdf" inside the > string: "fjwkrjweoriosdaicfosdifidoiasosifosdifosdfio" for example.. > Can this problem be posed suitable lfor linear optimization? Some computer languages have explicit functions for this type of search (for example, PL/I and Fortran have the INDEX ...

Go Back   Application Development Forum > Programming Languages > pl1

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-14-2008, 06:55 AM
robin
Guest
 
Default Re: String searching and lienar optimization

<almurph@altavista.com> wrote in message
news:b65a3b80-d543-463e-8a24-52adc8284eb7@8g2000hse.googlegroups.com...
> Hi,
>
> Hope you can help me here and apologies if i'm in the wrong forum.
> I want to use a linear programming technique to optimize the searching
> of a string (and string like it) inside another (much longer) string.
> For example say I am looking for the pattern "abdf" inside the
> string: "fjwkrjweoriosdaicfosdifidoiasosifosdifosdfio" for example..
> Can this problem be posed suitable lfor linear optimization?


Some computer languages have explicit functions for this type of search
(for example, PL/I and Fortran have the INDEX function).
Another useful search function where any of several characters can occur
is the the SEARCH function (PL/I) or SCAN function (Fortran).

If you are doing this type of search often and with with long strings,
you may want to consider one of the improved search algorithms.

> I would appreciate any comments/suggestions/ideas that you may be
> able to offer and apologies again if I'm in the wrong form.
>
> Thanking you,
> Al.



Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:56 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.